From: Hugh Dickins Date: Wed, 22 Jun 2005 00:15:07 +0000 (-0700) Subject: [PATCH] mbind: check_range use standard ptwalk X-Git-Tag: v2.6.13-rc4~130^2~202^2~137 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91612e0df20a52f61db3cac280c153311b36df7a;p=pandora-kernel.git [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 Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed