]> git.neil.brown.name Git - history.git/commit
[PATCH] Add a scheduling point to page reclaim
authorAndrew Morton <akpm@digeo.com>
Tue, 26 Nov 2002 01:57:22 +0000 (17:57 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Tue, 26 Nov 2002 01:57:22 +0000 (17:57 -0800)
commitcfe7c13e4e5cd42b9aefd5331704ba2ac7ab2450
tree2940e78f2aa14564db0f8022ca20703f9d82a45b
parent097137c54a4f6eb5ff389fb95f943b866605fa9e
[PATCH] Add a scheduling point to page reclaim

When the VM is under heavy load and a page allocator caller is holding
the BKL there can be several-millisecond scheduling stalls.

So add a cond_resched() at every 32nd page (approx).
mm/vmscan.c