summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDavidlohr Bueso <davidlohr@hp.com>2014-06-05 03:06:47 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-05 03:53:57 +0400
commit6b4ebc3a9078c5b7b8c4cf495a0b1d2d0e0bfe7a (patch)
treeb72fad03149fb8e21284558b636bb2a8faa88cb6 /arch
parent4f115147ff802267d0aa41e361c5aa5bd933d896 (diff)
downloadlinux-6b4ebc3a9078c5b7b8c4cf495a0b1d2d0e0bfe7a.tar.xz
mm,vmacache: optimize overflow system-wide flushing
For single threaded workloads, we can avoid flushing and iterating through the entire list of tasks, making the whole function a lot faster, requiring only a single atomic read for the mm_users. Signed-off-by: Davidlohr Bueso <davidlohr@hp.com> Suggested-by: Oleg Nesterov <oleg@redhat.com> Cc: Aswin Chandramouleeswaran <aswin@hp.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions