1 From nobody Mon Sep 17 00:00:00 2001
2 From: Christoph Lameter <clameter@sgi.com>
3 Date: Thu, 20 Apr 2006 02:43:12 -0700
4 Subject: Remove cond_resched in gather_stats()
6 gather_stats() is called with a spinlock held from check_pte_range. We
7 cannot reschedule with a lock held.
9 Signed-off-by: Christoph Lameter <clameter@sgi.com>
10 Signed-off-by: Andrew Morton <akpm@osdl.org>
11 Signed-off-by: Linus Torvalds <torvalds@osdl.org>
12 Signed-off-by: Chris Wright <chrisw@sous-sol.org>
16 1 file changed, 1 deletion(-)
18 --- linux-2.6.16.16.orig/mm/mempolicy.c
19 +++ linux-2.6.16.16/mm/mempolicy.c
20 @@ -1796,7 +1796,6 @@ static void gather_stats(struct page *pa
21 md->mapcount_max = count;
23 md->node[page_to_nid(page)]++;
27 #ifdef CONFIG_HUGETLB_PAGE