]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
pagemap: pass mm into pagewalkers
authorDave Hansen <dave@linux.vnet.ibm.com>
Thu, 12 Jun 2008 22:21:47 +0000 (15:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 13 Jun 2008 01:05:41 +0000 (18:05 -0700)
commit2165009bdf63f79716a36ad545df14c3cdf958b7
tree83d1735f2104b6b5158be56a362856ac1079861d
parentcfc53f65f56f9f33c0cf522124045ac5a64076b3
pagemap: pass mm into pagewalkers

We need this at least for huge page detection for now, because powerpc
needs the vm_area_struct to be able to determine whether a virtual address
is referring to a huge page (its pmd_huge() doesn't work).

It might also come in handy for some of the other users.

Signed-off-by: Dave Hansen <dave@linux.vnet.ibm.com>
Acked-by: Matt Mackall <mpm@selenic.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/task_mmu.c
include/linux/mm.h
mm/pagewalk.c