projects
/
unionfs-2.6.39.y.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0f369
)
[PATCH] Remove cond_resched in gather_stats()
author
Christoph Lameter
<clameter@sgi.com>
Thu, 20 Apr 2006 09:43:12 +0000
(
02:43
-0700)
committer
Chris Wright
<chrisw@sous-sol.org>
Sat, 20 May 2006 22:00:32 +0000
(15:00 -0700)
gather_stats() is called with a spinlock held from check_pte_range. We
cannot reschedule with a lock held.
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Signed-off-by: Chris Wright <chrisw@sous-sol.org>
mm/mempolicy.c
patch
|
blob
|
history
diff --git
a/mm/mempolicy.c
b/mm/mempolicy.c
index b21869a39f0b0380265fb3bd9e0ed885a29afa0d..8d7ddf0df36b8749debbcb21888d27ce0f85c39a 100644
(file)
--- a/
mm/mempolicy.c
+++ b/
mm/mempolicy.c
@@
-1796,7
+1796,6
@@
static void gather_stats(struct page *page, void *private, int pte_dirty)
md->mapcount_max = count;
md->node[page_to_nid(page)]++;
- cond_resched();
}
#ifdef CONFIG_HUGETLB_PAGE