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> |
||
---|---|---|
.. | ||
a.out.h | ||
apc.h | ||
asi.h | ||
asmmacro.h | ||
atomic.h | ||
auxio.h | ||
auxvec.h | ||
bitext.h | ||
bitops.h | ||
bpp.h | ||
bsderrno.h | ||
btfixup.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
checksum.h | ||
clock.h | ||
contregs.h | ||
cpudata.h | ||
cputime.h | ||
current.h | ||
cypress.h | ||
delay.h | ||
device.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
ebus.h | ||
ecc.h | ||
eeprom.h | ||
elf.h | ||
emergency-restart.h | ||
errno.h | ||
fbio.h | ||
fcntl.h | ||
fixmap.h | ||
floppy.h | ||
futex.h | ||
hardirq.h | ||
head.h | ||
highmem.h | ||
hw_irq.h | ||
ide.h | ||
idprom.h | ||
io-unit.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipc.h | ||
ipcbuf.h | ||
irq_regs.h | ||
irq.h | ||
jsflash.h | ||
Kbuild | ||
kdebug.h | ||
kgdb.h | ||
kmap_types.h | ||
linkage.h | ||
local.h | ||
machines.h | ||
mbus.h | ||
mc146818rtc.h | ||
memreg.h | ||
mman.h | ||
mmu_context.h | ||
mmu.h | ||
module.h | ||
mostek.h | ||
mpmbox.h | ||
msgbuf.h | ||
msi.h | ||
mutex.h | ||
mxcc.h | ||
namei.h | ||
obio.h | ||
of_device.h | ||
openprom.h | ||
openpromio.h | ||
oplib.h | ||
page.h | ||
param.h | ||
pbm.h | ||
pci.h | ||
pcic.h | ||
pconf.h | ||
percpu.h | ||
perfctr.h | ||
pgalloc.h | ||
pgtable.h | ||
pgtsrmmu.h | ||
pgtsun4.h | ||
pgtsun4c.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
prom.h | ||
psr.h | ||
ptrace.h | ||
reg.h | ||
resource.h | ||
ross.h | ||
rtc.h | ||
sbi.h | ||
sbus.h | ||
scatterlist.h | ||
sections.h | ||
semaphore.h | ||
sembuf.h | ||
setup.h | ||
sfp-machine.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
smpprim.h | ||
socket.h | ||
sockios.h | ||
solerrno.h | ||
spinlock_types.h | ||
spinlock.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
sun4paddr.h | ||
sun4prom.h | ||
sunbpp.h | ||
svr4.h | ||
swift.h | ||
sysen.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
traps.h | ||
tsunami.h | ||
turbosparc.h | ||
types.h | ||
uaccess.h | ||
unaligned.h | ||
unistd.h | ||
user.h | ||
vac-ops.h | ||
vaddrs.h | ||
vfc_ioctls.h | ||
vga.h | ||
viking.h | ||
winmacro.h | ||
xor.h |