]> git.baikalelectronics.ru Git - kernel.git/commit
mincore: do nested page table walks
authorJohannes Weiner <hannes@cmpxchg.org>
Mon, 24 May 2010 21:32:11 +0000 (14:32 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 25 May 2010 15:06:58 +0000 (08:06 -0700)
commit57e7a666d313f0326a98481908f31a0a72ee1a75
tree8f163687833fb5e1fa84f72e2e72e1ab83aca91e
parent8920bc7fbd4a773ca25ea249e114d88e71e3a32b
mincore: do nested page table walks

Do page table walks with the well-known nested loops we use in several
other places already.

This avoids doing full page table walks after every pte range and also
allows to handle unmapped areas bigger than one pte range in one go.

Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Naoya Horiguchi <n-horiguchi@ah.jp.nec.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mincore.c