]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: introduce mm_find_pmd()
authorBob Liu <lliubbo@gmail.com>
Thu, 25 Oct 2012 01:14:49 +0000 (12:14 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 30 Oct 2012 04:15:12 +0000 (15:15 +1100)
commit450a5bcc2d07233aa8ecb442f905466bdd7b74ac
tree0e8ad00f01f1aedb8c2283b6e45f7d936afbc402
parent845de9e633dac9dd79d5ac6cb9f945e5a688db1b
mm: introduce mm_find_pmd()

Several place need to find the pmd by(mm_struct, address), so introduce a
function to simplify it.

Signed-off-by: Bob Liu <lliubbo@gmail.com>
Cc: Andrea Arcangeli <aarcange@redhat.com>
Cc: Michal Hocko <mhocko@suse.cz>
Cc: Minchan Kim <minchan.kim@gmail.com>
Cc: Ni zhan Chen <nizhan.chen@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/huge_memory.c
mm/internal.h
mm/ksm.c
mm/migrate.c
mm/rmap.c