d6dd61c831
Add hooks to allow a paravirt implementation to track the lifetime of an mm. Paravirtualization requires three hooks, but only two are needed in common code. They are: arch_dup_mmap, which is called when a new mmap is created at fork arch_exit_mmap, which is called when the last process reference to an mm is dropped, which typically happens on exit and exec. The third hook is activate_mm, which is called from the arch-specific activate_mm() macro/function, and so doesn't need stub versions for other architectures. It's called when an mm is first used. Signed-off-by: Jeremy Fitzhardinge <jeremy@xensource.com> Signed-off-by: Andi Kleen <ak@suse.de> Cc: linux-arch@vger.kernel.org Cc: James Bottomley <James.Bottomley@SteelEye.com> Acked-by: Ingo Molnar <mingo@elte.hu> |
||
---|---|---|
.. | ||
8xx_immap.h | ||
amigahw.h | ||
amigaints.h | ||
amigappc.h | ||
amigayle.h | ||
amipcmcia.h | ||
ans-lcd.h | ||
bootinfo.h | ||
bootx.h | ||
btext.h | ||
commproc.h | ||
cpm2.h | ||
delay.h | ||
device.h | ||
floppy.h | ||
fs_pd.h | ||
gg2.h | ||
gt64260.h | ||
gt64260_defs.h | ||
harrier.h | ||
hawk.h | ||
hawk_defs.h | ||
highmem.h | ||
hydra.h | ||
ibm4xx.h | ||
ibm44x.h | ||
ibm403.h | ||
ibm405.h | ||
ibm_ocp.h | ||
ibm_ocp_pci.h | ||
immap_85xx.h | ||
immap_cpm2.h | ||
io.h | ||
kgdb.h | ||
m8260_pci.h | ||
machdep.h | ||
md.h | ||
mk48t59.h | ||
mmu.h | ||
mmu_context.h | ||
mpc8xx.h | ||
mpc10x.h | ||
mpc52xx.h | ||
mpc52xx_psc.h | ||
mpc83xx.h | ||
mpc85xx.h | ||
mpc8260.h | ||
mpc8260_pci9.h | ||
mv64x60.h | ||
mv64x60_defs.h | ||
ocp.h | ||
ocp_ids.h | ||
open_pic.h | ||
page.h | ||
pc_serial.h | ||
pci-bridge.h | ||
pci.h | ||
pgalloc.h | ||
pgtable.h | ||
pnp.h | ||
ppc4xx_dma.h | ||
ppc4xx_pic.h | ||
ppc_sys.h | ||
ppcboot.h | ||
prep_nvram.h | ||
prom.h | ||
raven.h | ||
reg_booke.h | ||
residual.h | ||
rheap.h | ||
rio.h | ||
rtc.h | ||
serial.h | ||
smp.h | ||
spinlock.h | ||
suspend.h | ||
system.h | ||
time.h | ||
todc.h | ||
traps.h | ||
zorro.h |