]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Remove cond_resched in gather_stats()
authorChristoph Lameter <clameter@sgi.com>
Thu, 20 Apr 2006 09:43:12 +0000 (02:43 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 20 Apr 2006 14:54:03 +0000 (07:54 -0700)
commit5f27c565bed65c6406be528f0e79155c2aac9e19
treec01adec9db3c85b48e337189b4fdc1f7e6f23733
parent67cd67b7cbbd0f26c7285d078c4519326c0a73a1
[PATCH] Remove cond_resched in gather_stats()

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>
mm/mempolicy.c