Andrea Arcangeli
cddb8a5c14
mmu-notifiers: core
...
With KVM/GFP/XPMEM there isn't just the primary CPU MMU pointing to pages.
There are secondary MMUs (with secondary sptes and secondary tlbs) too.
sptes in the kvm case are shadow pagetables, but when I say spte in
mmu-notifier context, I mean "secondary pte". In GRU case there's no
actual secondary pte and there's only a secondary tlb because the GRU
secondary MMU has no knowledge about sptes and every secondary tlb miss
event in the MMU always generates a page fault that has to be resolved by
the CPU (this is not the case of KVM where the a secondary tlb miss will
walk sptes in hardware and it will refill the secondary tlb transparently
to software if the corresponding spte is present). The same way
zap_page_range has to invalidate the pte before freeing the page, the spte
(and secondary tlb) must also be invalidated before any page is freed and
reused.
Currently we take a page_count pin on every page mapped by sptes, but that
means the pages can't be swapped whenever they're mapped by any spte
because they're part of the guest working set. Furthermore a spte unmap
event can immediately lead to a page to be freed when the pin is released
(so requiring the same complex and relatively slow tlb_gather smp safe
logic we have in zap_page_range and that can be avoided completely if the
spte unmap event doesn't require an unpin of the page previously mapped in
the secondary MMU).
The mmu notifiers allow kvm/GRU/XPMEM to attach to the tsk->mm and know
when the VM is swapping or freeing or doing anything on the primary MMU so
that the secondary MMU code can drop sptes before the pages are freed,
avoiding all page pinning and allowing 100% reliable swapping of guest
physical address space. Furthermore it avoids the code that teardown the
mappings of the secondary MMU, to implement a logic like tlb_gather in
zap_page_range that would require many IPI to flush other cpu tlbs, for
each fixed number of spte unmapped.
To make an example: if what happens on the primary MMU is a protection
downgrade (from writeable to wrprotect) the secondary MMU mappings will be
invalidated, and the next secondary-mmu-page-fault will call
get_user_pages and trigger a do_wp_page through get_user_pages if it
called get_user_pages with write=1, and it'll re-establishing an updated
spte or secondary-tlb-mapping on the copied page. Or it will setup a
readonly spte or readonly tlb mapping if it's a guest-read, if it calls
get_user_pages with write=0. This is just an example.
This allows to map any page pointed by any pte (and in turn visible in the
primary CPU MMU), into a secondary MMU (be it a pure tlb like GRU, or an
full MMU with both sptes and secondary-tlb like the shadow-pagetable layer
with kvm), or a remote DMA in software like XPMEM (hence needing of
schedule in XPMEM code to send the invalidate to the remote node, while no
need to schedule in kvm/gru as it's an immediate event like invalidating
primary-mmu pte).
At least for KVM without this patch it's impossible to swap guests
reliably. And having this feature and removing the page pin allows
several other optimizations that simplify life considerably.
Dependencies:
1) mm_take_all_locks() to register the mmu notifier when the whole VM
isn't doing anything with "mm". This allows mmu notifier users to keep
track if the VM is in the middle of the invalidate_range_begin/end
critical section with an atomic counter incraese in range_begin and
decreased in range_end. No secondary MMU page fault is allowed to map
any spte or secondary tlb reference, while the VM is in the middle of
range_begin/end as any page returned by get_user_pages in that critical
section could later immediately be freed without any further
->invalidate_page notification (invalidate_range_begin/end works on
ranges and ->invalidate_page isn't called immediately before freeing
the page). To stop all page freeing and pagetable overwrites the
mmap_sem must be taken in write mode and all other anon_vma/i_mmap
locks must be taken too.
2) It'd be a waste to add branches in the VM if nobody could possibly
run KVM/GRU/XPMEM on the kernel, so mmu notifiers will only enabled if
CONFIG_KVM=m/y. In the current kernel kvm won't yet take advantage of
mmu notifiers, but this already allows to compile a KVM external module
against a kernel with mmu notifiers enabled and from the next pull from
kvm.git we'll start using them. And GRU/XPMEM will also be able to
continue the development by enabling KVM=m in their config, until they
submit all GRU/XPMEM GPLv2 code to the mainline kernel. Then they can
also enable MMU_NOTIFIERS in the same way KVM does it (even if KVM=n).
This guarantees nobody selects MMU_NOTIFIER=y if KVM and GRU and XPMEM
are all =n.
The mmu_notifier_register call can fail because mm_take_all_locks may be
interrupted by a signal and return -EINTR. Because mmu_notifier_reigster
is used when a driver startup, a failure can be gracefully handled. Here
an example of the change applied to kvm to register the mmu notifiers.
Usually when a driver startups other allocations are required anyway and
-ENOMEM failure paths exists already.
struct kvm *kvm_arch_create_vm(void)
{
struct kvm *kvm = kzalloc(sizeof(struct kvm), GFP_KERNEL);
+ int err;
if (!kvm)
return ERR_PTR(-ENOMEM);
INIT_LIST_HEAD(&kvm->arch.active_mmu_pages);
+ kvm->arch.mmu_notifier.ops = &kvm_mmu_notifier_ops;
+ err = mmu_notifier_register(&kvm->arch.mmu_notifier, current->mm);
+ if (err) {
+ kfree(kvm);
+ return ERR_PTR(err);
+ }
+
return kvm;
}
mmu_notifier_unregister returns void and it's reliable.
The patch also adds a few needed but missing includes that would prevent
kernel to compile after these changes on non-x86 archs (x86 didn't need
them by luck).
[akpm@linux-foundation.org: coding-style fixes]
[akpm@linux-foundation.org: fix mm/filemap_xip.c build]
[akpm@linux-foundation.org: fix mm/mmu_notifier.c build]
Signed-off-by: Andrea Arcangeli <andrea@qumranet.com>
Signed-off-by: Nick Piggin <npiggin@suse.de>
Signed-off-by: Christoph Lameter <cl@linux-foundation.org>
Cc: Jack Steiner <steiner@sgi.com>
Cc: Robin Holt <holt@sgi.com>
Cc: Nick Piggin <npiggin@suse.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Kanoj Sarcar <kanojsarcar@yahoo.com>
Cc: Roland Dreier <rdreier@cisco.com>
Cc: Steve Wise <swise@opengridcomputing.com>
Cc: Avi Kivity <avi@qumranet.com>
Cc: Hugh Dickins <hugh@veritas.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Cc: Chris Wright <chrisw@redhat.com>
Cc: Marcelo Tosatti <marcelo@kvack.org>
Cc: Eric Dumazet <dada1@cosmosbay.com>
Cc: "Paul E. McKenney" <paulmck@us.ibm.com>
Cc: Izik Eidus <izike@qumranet.com>
Cc: Anthony Liguori <aliguori@us.ibm.com>
Cc: Rik van Riel <riel@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-07-28 16:30:21 -07:00
..
amba
byteorder
endian: Always evaluate arguments.
2008-07-25 09:28:09 -07:00
can
dvb
hdlc
i2c
gpio: max732x driver
2008-07-25 10:53:30 -07:00
isdn
lockd
lockd: Pass "struct sockaddr *" to new failover-by-IP function
2008-07-15 16:11:29 -04:00
mfd
Merge branch 'devel' of master.kernel.org:/home/rmk/linux-2.6-arm
2008-07-23 18:24:08 -07:00
mlx4
mlx4_core: Add VLAN tag field to WQE control segment struct
2008-07-25 10:30:06 -07:00
mmc
mmc: Add per-card debugfs support
2008-07-27 01:26:17 +02:00
mtd
[MTD] [NAND] subpage read feature as a way to increase performance.
2008-07-25 10:49:50 -04:00
netfilter
netfilter: nfnetlink_log: send complete hardware header
2008-07-21 10:11:00 -07:00
netfilter_arp
netfilter_bridge
netfilter_ipv4
netfilter_ipv6
nfsd
remove unused #include <linux/dirent.h>'s
2008-07-25 10:53:34 -07:00
raid
md: Protect access to mddev->disks list using RCU
2008-07-21 17:05:25 +10:00
rtc
spi
spi: split up spi_new_device() to allow two stage registration.
2008-07-25 22:34:29 -04:00
ssb
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
sunrpc
Merge branch 'for-2.6.27' of git://linux-nfs.org/~bfields/linux
2008-07-20 21:21:46 -07:00
tc_act
tc_ematch
unaligned
usb
Rename WARN() to WARNING() to clear the namespace
2008-07-25 10:53:29 -07:00
8250_pci.h
a.out.h
ac97_codec.h
acct.h
bsdacct: switch from global bsd_acct_struct instance to per-pidns one
2008-07-25 10:53:47 -07:00
acpi.h
pm: acpi hibernation: utilize hardware signature
2008-07-24 10:47:24 -07:00
acpi_pmtmr.h
adb.h
drivers/macintosh: Various cleanups
2008-07-01 11:28:06 +10:00
adfs_fs.h
adfs_fs_i.h
adfs_fs_sb.h
aer.h
affs_hardblocks.h
agp_backend.h
agp: more boolean conversions.
2008-06-19 10:42:17 +10:00
agpgart.h
agp: more boolean conversions.
2008-06-19 10:42:17 +10:00
aio.h
include/linux/aio.h: removed duplicated include
2008-07-26 12:00:04 -07:00
aio_abi.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
flag parameters: anon_inode_getfd extension
2008-07-24 10:47:27 -07:00
apm-emulation.h
apm_bios.h
arcdevice.h
arcfb.h
async_tx.h
async_tx: remove depend_tx from async_tx_sync_epilog
2008-07-17 17:59:55 -07:00
ata.h
ata_platform.h
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmel-pwm-bl.h
fbdev: LCD backlight driver using Atmel PWM driver
2008-07-24 10:47:41 -07:00
atmel-ssc.h
atmel_pdc.h
atmel_pwm.h
atmel_serial.h
atmel_tc.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
attribute_container.h
audit.h
remove the v850 port
2008-07-24 10:47:24 -07:00
auto_fs.h
auto_fs4.h
autofs4: remove unused ioctls
2008-07-24 10:47:33 -07:00
auxvec.h
ELF loader support for auxvec base platform string
2008-07-25 15:44:39 +10:00
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
baycom.h
bcd.h
rtc: BCD codeshrink
2008-07-24 10:47:33 -07:00
bfs_fs.h
binfmts.h
security: protect legacy applications from executing with insufficient privilege
2008-07-24 10:47:22 -07:00
bio.h
block: integrity cleanups
2008-07-03 13:21:14 +02:00
bit_spinlock.h
bitmap.h
bitops.h
bitrev.h
blkdev.h
block: Trivial fix for blk_integrity_rq()
2008-07-16 14:51:41 -07:00
blkpg.h
blktrace_api.h
Added in user-injected messages into blk traces
2008-07-03 13:21:12 +02:00
blockgroup_lock.h
bootmem.h
bootmem: Move node allocation macros back to !HAVE_ARCH_BOOTMEM_NODE
2008-07-25 11:36:44 -07:00
bottom_half.h
bpqether.h
brcmphy.h
bsg.h
buffer_head.h
bug.h
cache.h
can.h
capability.h
security: filesystem capabilities: fix fragile setuid fixup code
2008-07-04 10:40:08 -07:00
capi.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h
cfag12864b.h
Miguel Ojeda has moved
2008-07-04 10:40:05 -07:00
cgroup.h
cgroup_clone: use pid of newly created task for new cgroup
2008-07-25 10:53:37 -07:00
cgroup_subsys.h
cgroupstats.h
chio.h
circ_buf.h
clk.h
clockchips.h
clocksource.h
cm4000_cs.h
cn_proc.h
coda.h
coda: remove CODA_FS_OLD_API
2008-07-25 10:53:33 -07:00
coda_cache.h
coda_fs_i.h
coda_linux.h
[PATCH] sanitize ->permission() prototype
2008-07-26 20:53:14 -04:00
coda_psdev.h
coff.h
com20020.h
compat.h
compiler-gcc.h
compiler-gcc3.h
compiler-gcc4.h
compiler-intel.h
compiler.h
completion.h
comstats.h
concap.h
configfs.h
configfs: Allow ->make_item() and ->make_group() to return detailed errors.
2008-07-17 15:21:29 -07:00
connector.h
console.h
console_struct.h
consolemap.h
const.h
cpu.h
workqueues: make get_online_cpus() useable for work->func()
2008-07-25 10:53:40 -07:00
cpufreq.h
cpuidle.h
cpumask.h
cpu masks: optimize and clean up cpumask_of_cpu()
2008-07-28 22:20:41 +02:00
cpuset.h
cpu hotplug, sched: Introduce cpu_active_map and redo sched domain managment (take 2)
2008-07-18 13:22:25 +02:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h
crashdump: fix undefined reference to `elfcorehdr_addr'
2008-07-26 11:26:23 +02:00
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
[SCSI] lib: Add support for the T10 (SCSI) Data Integrity Field CRC
2008-07-12 08:22:32 -05:00
crc7.h
crc16.h
crc32.h
crc32c.h
crypto.h
crypto: hash - Move ahash functions into crypto/hash.h
2008-07-10 20:35:18 +08:00
cryptohash.h
ctype.h
cuda.h
cyclades.h
tty: add more tty_port fields
2008-07-20 17:12:38 -07:00
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h
dca.h
I/OAT: I/OAT version 3.0 support
2008-07-22 17:30:57 -07:00
dcache.h
Merge branch 'linus' into core/rcu
2008-07-11 10:46:50 +02:00
dccp.h
dccp: Upgrade NDP count from 3 to 6 bytes
2008-07-13 11:51:40 +01:00
dcookies.h
debug_locks.h
Move _RET_IP_ and _THIS_IP_ to include/linux/kernel.h
2008-07-05 13:10:50 -07:00
debugfs.h
debugfs: Implement debugfs_remove_recursive()
2008-07-21 21:54:59 -07:00
debugobjects.h
delay.h
x86: use cpu_khz for loops_per_jiffy calculation, cleanup
2008-06-24 13:53:46 +02:00
delayacct.h
per-task-delay-accounting: add memory reclaim delay
2008-07-25 10:53:47 -07:00
device-mapper.h
dm: introduce merge_bvec_fn
2008-07-21 12:00:37 +01:00
device.h
driver core: remove DEVICE_ID_SIZE define
2008-07-21 21:54:53 -07:00
device_cgroup.h
devpts_fs.h
dio.h
dirent.h
remove the in-kernel struct dirent{,64}
2008-07-25 10:53:34 -07:00
display.h
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h
dlmconstants.h
dm-dirty-log.h
dm-io.h
dm-ioctl.h
dm: introduce merge_bvec_fn
2008-07-21 12:00:37 +01:00
dm-kcopyd.h
dm9000.h
DM9000: Allow the use of the NSR register to get link status.
2008-06-24 22:58:07 -04:00
dma-attrs.h
powerpc/cell: Add DMA_ATTR_WEAK_ORDERING dma attribute and use in Cell IOMMU code
2008-07-22 10:39:36 +10:00
dma-mapping.h
dmaengine.h
async_tx: make async_tx_test_ack a boolean routine
2008-07-17 17:59:56 -07:00
dmapool.h
dmar.h
dmi.h
dn.h
dnotify.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
ds1wm.h
ds1286.h
ds17287rtc.h
dtlk.h
dw_dmac.h
dmaengine: Driver for the Synopsys DesignWare DMA controller
2008-07-08 11:59:42 -07:00
edac.h
edd.h
eeprom_93cx6.h
efi.h
efs_fs_sb.h
efs_vh.h
eisa.h
driver core: remove DEVICE_NAME_SIZE define
2008-07-21 21:54:53 -07:00
elevator.h
elf-em.h
elf-fdpic.h
elf.h
powerpc: Update for VSX core file and ptrace
2008-07-01 14:47:09 +10:00
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
err.h
errno.h
errqueue.h
etherdevice.h
ethtool.h
netdev: Add support for rx flow hash configuration, using ethtool.
2008-07-02 03:47:41 -07:00
eventfd.h
flag parameters: NONBLOCK in eventfd
2008-07-24 10:47:29 -07:00
eventpoll.h
flag parameters add-on: remove epoll_create size param
2008-07-24 10:47:29 -07:00
exportfs.h
ext2_fs.h
ext2: fix typo in Hurd part of include/linux/ext2_fs.h
2008-07-25 10:53:31 -07:00
ext2_fs_sb.h
ext3_fs.h
ext3: handle corrupted orphan list at mount
2008-07-25 10:53:32 -07:00
ext3_fs_i.h
ext3_fs_sb.h
ext3_jbd.h
f75375s.h
fadvise.h
falloc.h
fault-inject.h
fb.h
video/fb: cleanup FB_MAJOR usage
2008-07-24 10:47:41 -07:00
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdreg.h
fdtable.h
fib_rules.h
file.h
filter.h
firewire-cdev.h
firewire-constants.h
firmware-map.h
sysfs: add /sys/firmware/memmap
2008-07-08 17:55:41 +02:00
firmware.h
firmware: allow firmware files to be built into kernel image
2008-07-10 14:30:13 +01:00
flat.h
font.h
freezer.h
Freezer: Introduce PF_FREEZER_NOSIG
2008-07-16 23:27:03 +02:00
fs.h
[PATCH] get rid of indirect users of namei.h
2008-07-26 20:53:42 -04:00
fs_enet_pd.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
2008-07-22 19:09:51 -07:00
fs_stack.h
fs_struct.h
[PATCH] kill altroot
2008-07-26 20:53:20 -04:00
fs_uart_pd.h
fsl_devices.h
gianfar: Add magic packet and suspend/resume support.
2008-07-16 17:57:47 -05:00
fsnotify.h
ftrace.h
ftrace: add ftrace_kill_atomic
2008-07-11 15:49:21 +02:00
fuse.h
fuse: nfs export special lookups
2008-07-25 10:53:48 -07:00
futex.h
gameport.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h
gs: use tty_port
2008-07-20 17:12:36 -07:00
genetlink.h
genhd.h
fs/partition/check.c: fix return value warning
2008-07-25 10:53:44 -07:00
getcpu.h
gfp.h
mm: add alloc_pages_exact() and free_pages_exact()
2008-07-24 10:47:20 -07:00
gfs2_ondisk.h
gigaset_dev.h
gpio.h
gpio: sysfs interface
2008-07-25 10:53:30 -07:00
gpio_keys.h
gpio_mouse.h
hardirq.h
harrier_defs.h
hash.h
hayesesp.h
esp: use tty_port
2008-07-20 17:12:36 -07:00
hdlc.h
WAN: convert drivers to use built-in netdev_stats
2008-07-04 08:47:41 -04:00
hdlcdrv.h
hdpu_features.h
hdreg.h
hid-debug.h
hid.h
HID: add n-trig digitizer usage
2008-07-23 15:25:21 +02:00
hiddev.h
hidraw.h
highmem.h
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h
htirq.h
hugetlb.h
hugetlb: remove unused variable warning
2008-07-26 20:16:47 -07:00
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hysdn_if.h
i2c-algo-bit.h
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-algo-pcf: Drop unused struct members
2008-07-14 22:38:31 +02:00
i2c-algo-sgi.h
i2c-dev.h
i2c-gpio.h
i2c-id.h
V4L/DVB (8246): tvaudio: Stop I2C driver ID abuse
2008-07-20 07:18:38 -03:00
i2c-ocores.h
i2c-pca-platform.h
i2c-pnx.h
i2c-pxa.h
i2c.h
i2c: Add detection capability to new-style drivers
2008-07-14 22:38:36 +02:00
i2o-dev.h
i2o.h
dma-mapping: add the device argument to dma_mapping_error()
2008-07-26 12:00:03 -07:00
i8k.h
i8042.h
ibmtr.h
icmp.h
icmpv6.h
ide.h
ide: drop 'name' parameter from ->init_chipset method
2008-07-24 22:53:33 +02:00
idr.h
idr: make idr_find rcu-safe
2008-07-25 10:53:42 -07:00
ieee80211.h
mac80211: move QOS control helpers into ieee80211.h
2008-07-08 14:15:59 -04:00
if.h
if_addr.h
if_addrlabel.h
if_arcnet.h
if_arp.h
if_bonding.h
if_bridge.h
if_cablemodem.h
if_ec.h
if_eql.h
if_ether.h
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h
if_ltalk.h
if_macvlan.h
if_packet.h
packet: add PACKET_RESERVE sockopt
2008-07-18 18:05:19 -07:00
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h
if_slip.h
if_strip.h
if_tr.h
if_tun.h
tun: Fix/rewrite packet filtering logic
2008-07-14 22:18:19 -07:00
if_tunnel.h
if_vlan.h
vlan: Don't store VLAN tag in cb
2008-07-14 22:49:06 -07:00
igmp.h
ipv4: Do cleanup for ip_mr_init
2008-07-03 17:51:57 +09:00
ihex.h
ihex: request_ihex_firmware() function to load and validate firmware
2008-07-10 14:47:38 +01:00
in.h
in6.h
in_route.h
inet.h
NFS: Add string length argument to nfs_parse_server_address
2008-07-09 12:09:28 -04:00
inet_diag.h
inet_lro.h
net/inet_lro: remove setting skb->ip_summed when not LRO-able
2008-06-27 20:09:00 -07:00
inetdevice.h
init.h
Better interface for hooking early initcalls
2008-07-26 12:00:04 -07:00
init_ohci1394_dma.h
init_task.h
introduce PF_KTHREAD flag
2008-07-25 10:53:39 -07:00
initrd.h
inotify.h
flag parameters: NONBLOCK in inotify_init
2008-07-24 10:47:29 -07:00
input-polldev.h
input.h
Merge master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into next
2008-07-21 00:55:14 -04:00
interrupt.h
Merge branch 'genirq' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
2008-07-15 10:39:22 -07:00
io.h
ioc3.h
ioc4.h
iocontext.h
block: blkdev.h cleanup, move iocontext stuff to iocontext.h
2008-07-03 13:21:14 +02:00
ioctl.h
iommu-helper.h
ioport.h
PNP: support optional IRQ resources
2008-07-16 23:27:07 +02:00
ioprio.h
ip.h
ip6_tunnel.h
ipc.h
ipc_namespace.h
ipc: do not use a negative value to re-enable msgmni automatic recomputing
2008-07-25 10:53:42 -07:00
ipmi.h
ipmi_msgdefs.h
ipmi_smi.h
ipsec.h
ipv6.h
ipv6: __KERNEL__ ifdef struct ipv6_devconf
2008-07-21 13:41:16 -07:00
ipv6_route.h
ipx.h
irda.h
irq.h
irq_cpustat.h
irqflags.h
locking: add typecheck on irqsave and friends for correct flags
2008-07-25 10:53:26 -07:00
irqreturn.h
isa.h
isapnp.h
iscsi_ibft.h
isdn.h
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
iso_fs.h
istallion.h
istallion: use tty_port
2008-07-20 17:12:37 -07:00
ivtv.h
ivtvfb.h
ixjuser.h
jbd.h
jbd2.h
jbd2: Remove data=ordered mode support using jbd buffer heads
2008-07-11 19:27:31 -04:00
jffs2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
kallsyms.h
kallsyms: unify 32- and 64-bit code
2008-07-25 10:53:29 -07:00
kbd_diacr.h
kbd_kern.h
Kbuild
Merge git://git.infradead.org/~dwmw2/random-2.6
2008-07-25 12:01:37 -07:00
kbuild.h
kd.h
kdebug.h
kdev_t.h
kernel.h
printk ratelimiting rewrite
2008-07-25 10:53:29 -07:00
kernel_stat.h
kernelcapi.h
kexec.h
kexec jump
2008-07-26 12:00:04 -07:00
key-type.h
key-ui.h
key.h
keyboard.h
keyctl.h
kfifo.h
kgdb.h
klist.h
kmalloc_sizes.h
kmod.h
call_usermodehelper(): increase reliability
2008-07-25 10:53:28 -07:00
kobj_map.h
kobject.h
mm: create /sys/kernel/mm
2008-07-24 10:47:17 -07:00
kprobes.h
kprobes: improve kretprobe scalability with hashed locking
2008-07-25 10:53:30 -07:00
kref.h
ks0108.h
Miguel Ojeda has moved
2008-07-04 10:40:05 -07:00
kthread.h
Label kthread_create() with printf attribute tag.
2008-07-24 19:11:15 -07:00
ktime.h
kvm.h
KVM: Support mixed endian machines
2008-07-20 12:42:32 +03:00
kvm_host.h
KVM: MMU: nuke shadowed pgtable pages and ptes on memslot destruction
2008-07-20 12:42:40 +03:00
kvm_para.h
kvm_types.h
lapb.h
latencytop.h
lcd.h
lcd: add lcd_device to check_fb() entry in lcd_ops
2008-07-24 10:47:40 -07:00
leds-pca9532.h
leds: Add pca9532 led driver
2008-07-23 09:49:56 +01:00
leds.h
leds: Add support for Philips PCA955x I2C LED drivers
2008-07-23 09:49:56 +01:00
lguest.h
lguest_launcher.h
libata.h
libata/ahci: enclosure management support
2008-07-14 15:59:33 -04:00
libps2.h
license.h
limits.h
linkage.h
Merge branch 'auto-ftrace-next' into tracing/for-linus
2008-07-14 16:11:52 +02:00
linux_logo.h
list.h
lists: remove a redundant conditional definition of list_add()
2008-07-25 10:53:27 -07:00
llc.h
lm_interface.h
[GFS2] Remove obsolete conversion deadlock avoidance code
2008-06-27 09:39:47 +01:00
lmb.h
lockdep.h
lockdep: remove duplicate definition of STATIC_LOCKDEP_MAP_INIT
2008-06-24 13:43:07 +02:00
log2.h
loop.h
lp.h
lzo.h
m48t86.h
magic.h
major.h
video/fb: cleanup FB_MAJOR usage
2008-07-24 10:47:41 -07:00
maple.h
maple: tidy maple_driver code by removing redundant connect/disconnect
2008-07-28 18:10:30 +09:00
marker.h
math64.h
matroxfb.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mca-legacy.h
mca.h
mdio-bitbang.h
memcontrol.h
memcg: helper function for relcaim from shmem.
2008-07-25 10:53:37 -07:00
memory.h
memory_hotplug.h
memory-hotplug: add sysfs removable attribute for hotplug memory remove
2008-07-24 10:47:21 -07:00
mempolicy.h
mm: make CONFIG_MIGRATION available w/o CONFIG_NUMA
2008-07-24 10:47:21 -07:00
mempool.h
memstick.h
memstick: add "start" and "stop" methods to memstick device
2008-07-26 12:00:04 -07:00
meye.h
migrate.h
mm: make CONFIG_MIGRATION available w/o CONFIG_NUMA
2008-07-24 10:47:21 -07:00
mii.h
minix_fs.h
miscdevice.h
mISDNdsp.h
Add mISDN DSP
2008-07-27 01:56:38 +02:00
mISDNhw.h
Add mISDN core files
2008-07-27 01:54:58 +02:00
mISDNif.h
Add mISDN core files
2008-07-27 01:54:58 +02:00
mm.h
mmu-notifiers: add mm_take_all_locks() operation
2008-07-28 16:30:21 -07:00
mm_inline.h
mm_types.h
mmu-notifiers: core
2008-07-28 16:30:21 -07:00
mman.h
mm: Allow architectures to define additional protection bits
2008-07-09 16:30:45 +10:00
mmiotrace.h
mmtimer.h
mmu_notifier.h
mmu-notifiers: core
2008-07-28 16:30:21 -07:00
mmzone.h
mnt_namespace.h
mod_devicetable.h
[S390] css: Use css_device_id for bus matching.
2008-07-14 10:02:12 +02:00
module.h
remove the v850 port
2008-07-24 10:47:24 -07:00
moduleloader.h
moduleparam.h
mount.h
[PATCH] vfs: use kstrdup() and check failing allocation
2008-07-26 20:53:24 -04:00
mpage.h
vfs: add hooks for ext4's delayed allocation support
2008-07-11 19:27:31 -04:00
mqueue.h
mroute.h
ipv4,ipv6 mroute: Add some helper inline functions to remove ugly ifdefs.
2008-07-03 17:51:57 +09:00
mroute6.h
ipv4,ipv6 mroute: Add some helper inline functions to remove ugly ifdefs.
2008-07-03 17:51:57 +09:00
msdos_fs.h
fatfs: add UTC timestamp option
2008-07-25 10:53:34 -07:00
msg.h
msi.h
mtio.h
mutex-debug.h
mutex.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
n_r3964.h
namei.h
[PATCH] get rid of __user_path_lookup_open
2008-07-26 20:53:41 -04:00
nbd.h
ncp.h
ncp_fs.h
ncp_fs_i.h
ncp_fs_sb.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h
printk ratelimiting rewrite
2008-07-25 10:53:29 -07:00
netdevice.h
net: Fix build failure with 'make mandocs'.
2008-07-22 14:09:06 -07:00
netfilter.h
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netfilter: cleanup netfilter_ipv6.h userspace header
2008-07-08 02:36:40 -07:00
netlink.h
netpoll.h
netrom.h
nfs.h
nfs2.h
nfs3.h
nfs4.h
nfsd: remove three unused NFS4_ACE_* defines
2008-06-23 13:02:48 -04:00
nfs4_acl.h
nfs4_mount.h
nfs_fs.h
[PATCH] get rid of indirect users of namei.h
2008-07-26 20:53:42 -04:00
nfs_fs_i.h
nfs_fs_sb.h
nfs_idmap.h
nfs_iostat.h
NFS: Move fs/nfs/iostat.h to include/linux
2008-07-09 12:09:17 -04:00
nfs_mount.h
nfs_page.h
NFS: Allow redirtying of a completed unstable write.
2008-07-09 12:09:24 -04:00
nfs_xdr.h
NFS: Remove the redundant file_open entry from struct nfs_rpc_ops
2008-07-09 12:09:16 -04:00
nfsacl.h
nfsd_idmap.h
nl80211.h
mac80211: Let drivers have access to TKIP key offets for TX and RX MIC
2008-06-27 09:09:17 -04:00
nls.h
nmi.h
node.h
nodemask.h
notifier.h
workqueues: make get_online_cpus() useable for work->func()
2008-07-25 10:53:40 -07:00
nsc_gpio.h
nsproxy.h
cgroup_clone: use pid of newly created task for new cgroup
2008-07-25 10:53:37 -07:00
nubus.h
numa.h
nvram.h
of.h
of: adapt of_find_i2c_driver() to be usable by SPI also
2008-07-25 22:25:13 -04:00
of_device.h
of_gpio.h
of_gpio: Should use new <linux/gpio.h> header
2008-07-22 10:39:30 +10:00
of_i2c.h
of_platform.h
of_spi.h
spi: Add OF binding support for SPI busses
2008-07-25 22:34:40 -04:00
oom.h
oprofile.h
page-flags.h
slob: record page flag overlays explicitly
2008-07-24 10:47:15 -07:00
page-isolation.h
pageblock-flags.h
pagemap.h
mmu-notifiers: add mm_take_all_locks() operation
2008-07-28 16:30:21 -07:00
pagevec.h
param.h
parport.h
parport/share.c: proper externs
2008-07-26 12:00:03 -07:00
parport_pc.h
parser.h
UFS: add const to parser token table
2008-07-24 11:50:15 -07:00
patchkey.h
path.h
pci-acpi.h
pci-aspm.h
pci.h
PCI PM: make more PCI PM core functionality available to drivers
2008-07-22 14:25:38 -07:00
pci_hotplug.h
pci_ids.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ieee1394/linux1394-2.6
2008-07-27 10:24:06 -07:00
pci_regs.h
PCI: Simplify PCI device PM code
2008-07-07 16:26:50 -07:00
pcieport_if.h
pda_power.h
percpu.h
mm/allocpercpu.c: make 4 functions static
2008-07-26 12:00:12 -07:00
percpu_counter.h
percpu_counter: new function percpu_counter_sum_and_set
2008-07-11 19:27:31 -04:00
personality.h
pfkeyv2.h
pfn.h
pg.h
phantom.h
phonedev.h
phy.h
phy_fixed.h
pid.h
pidns: remove find_task_by_pid, unused for a long time
2008-07-25 10:53:45 -07:00
pid_namespace.h
pidns: add the struct bsd_acct_struct pointer on pid_namespace struct
2008-07-25 10:53:46 -07:00
pim.h
pipe_fs_i.h
pkt_cls.h
net-sched: cls_flow: add perturbation support
2008-07-14 20:36:32 -07:00
pkt_sched.h
net_sched: Add size table for qdiscs
2008-07-20 00:08:47 -07:00
pktcdvd.h
platform_device.h
plist.h
pm.h
pm: add new PM_EVENT codes for runtime power transitions
2008-07-24 10:47:23 -07:00
pm_qos_params.h
pm_wakeup.h
PCI: include linux/pm_wakeup.h for device_set_wakeup_capable
2008-07-14 14:30:21 -07:00
pmu.h
pnp.h
PNP: convert resource options to single linked list
2008-07-16 23:27:07 +02:00
poison.h
poll.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
power_supply.h
ppdev.h
ppp-comp.h
ppp_channel.h
ppp_defs.h
prctl.h
preempt.h
prefetch.h
prio_heap.h
prio_tree.h
proc_fs.h
[PATCH] sanitize proc_sysctl
2008-07-26 20:53:12 -04:00
profile.h
build-kernel-profileo-only-when-requested-cleanups
2008-07-25 10:53:27 -07:00
proportions.h
ptrace.h
task_current_syscall
2008-07-26 12:00:10 -07:00
pwm.h
pwm_backlight.h
[ARM] 5044/1: pwm_bl: add init/notify/exit callbacks
2008-07-03 13:25:05 +01:00
qnx4_fs.h
qnxtypes.h
quicklist.h
quota.h
quota: implement sending information via netlink about user below quota
2008-07-25 10:53:35 -07:00
quotaio_v1.h
quotaio_v2.h
quotaops.h
quota: convert macros to inline functions
2008-07-25 10:53:35 -07:00
radeonfb.h
radix-tree.h
radix-tree: add gang_lookup_slot, gang_lookup_slot_tag
2008-07-26 12:00:06 -07:00
raid_class.h
ramfs.h
random.h
ratelimit.h
printk ratelimiting rewrite
2008-07-25 10:53:29 -07:00
raw.h
rbtree.h
rcuclassic.h
rculist.h
mmu-notifiers: add list_del_init_rcu()
2008-07-28 16:30:20 -07:00
rcupdate.h
rcupreempt.h
printk ratelimiting rewrite
2008-07-25 10:53:29 -07:00
rcupreempt_trace.h
reboot.h
reciprocal_div.h
regset.h
reiserfs_acl.h
reiserfs_fs.h
include: use get/put_unaligned_* helpers
2008-07-25 10:53:26 -07:00
reiserfs_fs_i.h
reiserfs_fs_sb.h
reiserfs: convert j_commit_lock to mutex
2008-07-25 10:53:33 -07:00
reiserfs_xattr.h
[PATCH] sanitize ->permission() prototype
2008-07-26 20:53:14 -04:00
relay.h
relay: add buffer-only channels; useful for early logging
2008-07-26 12:00:04 -07:00
res_counter.h
res_counter: limit change support ebusy
2008-07-25 10:53:37 -07:00
resource.h
resume-trace.h
rfkill.h
rfkill: rename the rfkill_state states and add block-locked state
2008-06-26 14:21:22 -04:00
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
mmu-notifiers: add mm_take_all_locks() operation
2008-07-28 16:30:21 -07:00
romfs_fs.h
root_dev.h
rose.h
route.h
rslib.h
rtc-v3020.h
rtc.h
drivers/char/rtc.c: make 2 functions static
2008-07-26 12:00:12 -07:00
rtmutex.h
rtnetlink.h
net: drop unused BUG_TRAP()
2008-07-25 21:45:49 -07:00
rwsem-spinlock.h
rwsem.h
rxrpc.h
sc26198.h
scatterlist.h
sg: reimplement sg mapping iterator
2008-07-23 14:42:09 +02:00
scc.h
sched.h
task IO accounting: move all IO statistics in struct task_io_accounting
2008-07-27 16:12:28 -07:00
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdla.h
seccomp.h
securebits.h
security: filesystem capabilities: fix fragile setuid fixup code
2008-07-04 10:40:08 -07:00
security.h
[PATCH] pass MAY_OPEN to vfs_permission() explicitly
2008-07-26 20:53:22 -04:00
selection.h
selinux.h
selinux_netlink.h
sem.h
ipc/sem.c: rewrite undo list locking
2008-07-25 10:53:42 -07:00
semaphore.h
Remove __DECLARE_SEMAPHORE_GENERIC
2008-07-24 08:31:21 -04:00
seq_file.h
seq_file_net.h
proc: consolidate per-net single-release callers
2008-07-18 04:07:44 -07:00
seqlock.h
serial.h
serial167.h
serial_8250.h
serial_core.h
remove the v850 port
2008-07-24 10:47:24 -07:00
serial_pnx8xxx.h
serial_reg.h
serial_sci.h
serialP.h
serio.h
Input: serio - mark serio_register_driver() __must_check
2008-07-23 14:01:49 -04:00
shm.h
shmem_fs.h
[PATCH] sanitize ->permission() prototype
2008-07-26 20:53:14 -04:00
signal.h
signalfd.h
flag parameters: NONBLOCK in signalfd
2008-07-24 10:47:29 -07:00
skbuff.h
vlan: Don't store VLAN tag in cb
2008-07-14 22:49:06 -07:00
slab.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
2008-07-26 20:17:56 -07:00
slab_def.h
slob_def.h
slub_def.h
SL*B: drop kmem cache argument from constructor
2008-07-26 12:00:07 -07:00
sm501-regs.h
sm501.h
sm501: gpio I2C support
2008-07-25 10:53:30 -07:00
smb.h
smb_fs.h
include: use get/put_unaligned_* helpers
2008-07-25 10:53:26 -07:00
smb_fs_i.h
smb_fs_sb.h
smb_mount.h
smbno.h
smc91x.h
[NET] smc91x: prepare SMC_USE_PXA_DMA to be specified in platform data
2008-07-12 21:52:41 +01:00
smc911x.h
smp.h
Full conversion to early_initcall() interface, remove old interface
2008-07-26 12:00:04 -07:00
smp_lock.h
Add cycle_kernel_lock()
2008-06-20 14:05:53 -06:00
snmp.h
socket.h
Define AF_ISDN and PF_ISDN
2008-07-27 01:47:00 +02:00
sockios.h
som.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
locking: add typecheck on irqsave and friends for correct flags
2008-07-25 10:53:26 -07:00
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
srcu.h
stacktrace.h
stallion.h
stallion: use tty_port
2008-07-20 17:12:37 -07:00
start_kernel.h
stat.h
statfs.h
stddef.h
stop_machine.h
stop_machine(): stop_machine_run() changed to use cpu mask
2008-07-28 12:16:30 +10:00
string.h
move memory_read_from_buffer() from fs.h to string.h
2008-07-24 10:47:13 -07:00
stringify.h
superhyway.h
suspend.h
kexec jump: save/restore device state
2008-07-26 12:00:04 -07:00
suspend_ioctls.h
svga.h
swap.h
mm/swapfile.c: make code static
2008-07-26 12:00:12 -07:00
swapops.h
synclink.h
synclink_gt: add serial bit order control
2008-07-22 13:03:29 -07:00
sys.h
syscalls.h
sys_paccept definition missing __user annotation
2008-07-25 17:28:49 -07:00
sysctl.h
[PATCH] sanitize proc_sysctl
2008-07-26 20:53:12 -04:00
sysdev.h
sysdev: Add utility functions for simple int/ulong variable sysdev attributes
2008-07-21 21:55:02 -07:00
sysfs.h
driver core: Suppress sysfs warnings for device_rename().
2008-07-21 21:55:01 -07:00
sysrq.h
sysv_fs.h
task_io_accounting.h
task IO accounting: move all IO statistics in struct task_io_accounting
2008-07-27 16:12:28 -07:00
task_io_accounting_ops.h
task IO accounting: move all IO statistics in struct task_io_accounting
2008-07-27 16:12:28 -07:00
taskstats.h
per-task-delay-accounting: update taskstats for memory reclaim delay
2008-07-25 10:53:47 -07:00
taskstats_kern.h
tc.h
tcp.h
tcp: Remove redundant checks when setting eff_sacks
2008-07-19 00:07:02 -07:00
telephony.h
termios.h
textsearch.h
textsearch: convert kmalloc + memset to kzalloc
2008-07-08 02:38:40 -07:00
textsearch_fsm.h
tfrc.h
thermal.h
thermal: Create CONFIG_THERMAL_HWMON=n
2008-06-25 19:25:42 -04:00
thread_info.h
threads.h
tick.h
nohz: prevent tick stop outside of the idle loop
2008-07-18 18:10:28 +02:00
tifm.h
time.h
timer.h
timerfd.h
flag parameters: NONBLOCK in timerfd_create
2008-07-24 10:47:29 -07:00
times.h
timex.h
tiocl.h
tipc.h
tipc_config.h
topology.h
toshiba.h
tracehook.h
tracehook: comment fixes
2008-07-26 14:41:26 -07:00
transport_class.h
trdevice.h
tsacct_kern.h
tty.h
tty: Split ldisc code into its own file
2008-07-22 13:03:27 -07:00
tty_driver.h
tty: rework break handling
2008-07-22 13:03:28 -07:00
tty_flip.h
tty_ldisc.h
tty: Ldisc revamp
2008-07-20 17:12:34 -07:00
typecheck.h
split the typecheck macros out of include/linux/kernel.h
2008-07-25 10:53:26 -07:00
types.h
uaccess.h
udf_fs_i.h
udp.h
uinput.h
uio.h
uio_driver.h
UIO: minor style and comment fixes
2008-07-21 21:54:55 -07:00
ultrasound.h
un.h
unistd.h
unwind.h
usb.h
USB: Force unbinding of drivers lacking reset_resume or other methods
2008-07-21 15:16:40 -07:00
usb_usual.h
usbdevice_fs.h
USB: remove CVS keywords
2008-07-21 15:15:55 -07:00
user.h
user_namespace.h
utime.h
uts.h
utsname.h
vermagic.h
veth.h
vfs.h
via.h
video_decoder.h
video_encoder.h
video_output.h
videodev.h
V4L/DVB (8524): videodev: copy the VID_TYPE defines to videodev.h
2008-07-27 11:07:12 -03:00
videodev2.h
V4L/DVB (8522): videodev2: Fix merge conflict
2008-07-27 12:24:02 -03:00
videotext.h
V4L/DVB (8500a): videotext.h: whitespace cleanup
2008-07-26 13:25:25 -03:00
virtio.h
virtio_9p.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
virtio_balloon.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
virtio_blk.h
virtio_blk: check for hardsector size from host
2008-07-25 12:06:05 +10:00
virtio_config.h
virtio: Rename set_features to finalize_features
2008-07-25 12:06:12 +10:00
virtio_console.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
virtio_net.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
virtio_pci.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
virtio_ring.h
virtio: Add transport feature handling stub for virtio_ring.
2008-07-25 12:06:14 +10:00
virtio_rng.h
virtio: clarify that ABI is usable by any implementations
2008-07-25 12:06:04 +10:00
vmalloc.h
vmstat.h
mm/vmstat.c: proper externs
2008-07-24 10:47:14 -07:00
vt.h
vt_buffer.h
vt_kern.h
w1-gpio.h
wait.h
wanrouter.h
watchdog.h
wireless.h
wm97xx.h
workqueue.h
workqueues: implement flush_work()
2008-07-25 10:53:40 -07:00
writeback.h
Merge branch 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4
2008-07-15 08:36:38 -07:00
x25.h
xattr.h
xfrm.h
xfrm: Add a XFRM_STATE_AF_UNSPEC flag to xfrm_usersa_info
2008-07-10 16:55:37 -07:00
xilinxfb.h
yam.h
zconf.h
zlib.h
zorro.h
zorro_ids.h
zutil.h