git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cece85
)
vmstats: add cond_resched() to refresh_cpu_vm_stats()
author
Dimitri Sivanich
<sivanich@sgi.com>
Mon, 28 Apr 2008 09:13:37 +0000
(
02:13
-0700)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Mon, 28 Apr 2008 15:58:26 +0000
(08:58 -0700)
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 <sivanich@sgi.com>
Acked-by: Christoph Lameter <clameter@sgi.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/vmstat.c
patch
|
blob
|
history
diff --cc
mm/vmstat.c
Simple merge