Home
last modified time | relevance | path

Searched hist:"91612 e0df20a52f61db3cac280c153311b36df7a" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/mm/
H A Dmempolicy.cdiff 91612e0df20a52f61db3cac280c153311b36df7a Tue Jun 21 19:15:07 CDT 2005 Hugh Dickins <hugh@veritas.com> [PATCH] mbind: check_range use standard ptwalk

Strict mbind's check for currently mapped pages being on node has been
using a slow loop which re-evaluates pgd, pud, pmd, pte for each entry:
replace that by a standard four-level page table walk like others in mm.
Since mmap_sem is held for writing, page_table_lock can be taken at the
inner level to limit latency.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: Andi Kleen <ak@muc.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>