Davidlohr Bueso 6b4ebc3a90 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>
2014-06-04 16:53:57 -07:00
..
2014-05-05 15:44:47 +02:00
2012-01-03 22:54:56 -05:00
2011-07-26 16:49:47 -07:00
2014-04-07 16:35:58 -07:00
2014-03-04 07:55:47 -08:00
2014-05-19 20:01:52 -06:00
2014-06-04 16:53:56 -07:00
2014-01-27 21:02:39 -08:00
2014-04-07 16:35:53 -07:00
2014-06-04 16:53:56 -07:00
2012-06-20 14:39:36 -07:00
2014-04-07 16:35:58 -07:00
2014-06-04 16:53:56 -07:00
2014-06-04 16:53:56 -07:00
2014-05-06 14:02:53 -04:00
2014-06-04 16:53:57 -07:00