Files
kernel_amazon_mt8127-common/include/linux
Michel Lespinasse 110d74a921 mm: add FOLL_MLOCK follow_page flag.
Move the code to mlock pages from __mlock_vma_pages_range() to
follow_page().

This allows __mlock_vma_pages_range() to not have to break down work into
16-page batches.

An additional motivation for doing this within the present patch series is
that it'll make it easier for a later chagne to drop mmap_sem when
blocking on disk (we'd like to be able to resume at the page that was read
from disk instead of at the start of a 16-page batch).

Signed-off-by: Michel Lespinasse <walken@google.com>
Cc: Hugh Dickins <hughd@google.com>
Cc: Rik van Riel <riel@redhat.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Nick Piggin <npiggin@kernel.dk>
Cc: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-01-13 17:32:36 -08:00
..
2011-01-12 14:37:42 +09:00
2011-01-10 08:51:44 -08:00
2011-01-13 08:03:12 -08:00
2011-01-10 07:38:53 -08:00
2011-01-10 08:51:44 -08:00
2011-01-12 20:16:43 -05:00
2011-01-10 08:51:44 -08:00
2011-01-10 07:38:53 -08:00
2011-01-10 22:11:23 +01:00
2011-01-13 17:32:31 -08:00
2011-01-13 17:32:31 -08:00
2011-01-13 17:32:36 -08:00
2011-01-10 16:05:30 -08:00
2011-01-11 14:17:09 -05:00
2011-01-13 08:03:21 -08:00
2011-01-13 08:03:18 -08:00
2011-01-10 09:46:24 +11:00
2011-01-13 08:03:19 -08:00
2011-01-13 08:03:20 -08:00
2011-01-13 08:03:24 -08:00