]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mm: introduce mm_find_pmd()
authorBob Liu <lliubbo@gmail.com>
Fri, 9 Nov 2012 03:03:58 +0000 (14:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Fri, 9 Nov 2012 03:08:32 +0000 (14:08 +1100)
commitabf1bc116b037e286bbb8cd652ce148590b4c736
tree3508fb1f1e6b0f058446a1e382fdb33fe087b1d1
parent5082932e5eca601a573c4a3af39d7d0121ba78eb
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