diff options
| author | Dimitri Sivanich <[email protected]> | 2008-04-28 09:13:37 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2008-04-28 15:58:26 +0000 |
| commit | 468fd62ed9090ccbe872489df5d0d099510df4b5 (patch) | |
| tree | 017ab340cac72bf86423f181f085e7bc39fd70ea /security/selinux/hooks.c | |
| parent | mm: fix broken gfp_zone with __GFP_THISNODE (diff) | |
| download | kernel-468fd62ed9090ccbe872489df5d0d099510df4b5.tar.gz kernel-468fd62ed9090ccbe872489df5d0d099510df4b5.zip | |
vmstats: add cond_resched() to refresh_cpu_vm_stats()
We've found that it can take quite a bit of time (100's of usec) to get
through the zone loop in refresh_cpu_vm_stats().
Adding a cond_resched() to allow other threads to run in the non-preemptive
case.
Signed-off-by: Dimitri Sivanich <[email protected]>
Acked-by: Christoph Lameter <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions
