diff options
author | Rik van Riel <riel@redhat.com> | 2014-02-18 17:12:44 -0500 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2014-02-21 21:27:10 +0100 |
commit | 3cf1962cdbf6b3a9e3ef21116d215bbab350ea37 (patch) | |
tree | eb6a13b68e96e4be4f1da403b720db17849150c6 /kernel/latencytop.c | |
parent | 495163420ab5398c84af96ca3eae2c6aa4a140da (diff) | |
download | op-kernel-dev-3cf1962cdbf6b3a9e3ef21116d215bbab350ea37.zip op-kernel-dev-3cf1962cdbf6b3a9e3ef21116d215bbab350ea37.tar.gz |
sched,numa: add cond_resched to task_numa_work
Normally task_numa_work scans over a fairly small amount of memory,
but it is possible to run into a large unpopulated part of virtual
memory, with no pages mapped. In that case, task_numa_work can run
for a while, and it may make sense to reschedule as required.
Cc: akpm@linux-foundation.org
Cc: Andrea Arcangeli <aarcange@redhat.com>
Signed-off-by: Rik van Riel <riel@redhat.com>
Reported-by: Xing Gang <gang.xing@hp.com>
Tested-by: Chegu Vinod <chegu_vinod@hp.com>
Signed-off-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/1392761566-24834-2-git-send-email-riel@redhat.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'kernel/latencytop.c')
0 files changed, 0 insertions, 0 deletions