Hans Verkuil
626cf23660
poll: add poll_requested_events() and poll_does_not_wait() functions
...
In some cases the poll() implementation in a driver has to do different
things depending on the events the caller wants to poll for. An example
is when a driver needs to start a DMA engine if the caller polls for
POLLIN, but doesn't want to do that if POLLIN is not requested but instead
only POLLOUT or POLLPRI is requested. This is something that can happen
in the video4linux subsystem among others.
Unfortunately, the current epoll/poll/select implementation doesn't
provide that information reliably. The poll_table_struct does have it: it
has a key field with the event mask. But once a poll() call matches one
or more bits of that mask any following poll() calls are passed a NULL
poll_table pointer.
Also, the eventpoll implementation always left the key field at ~0 instead
of using the requested events mask.
This was changed in eventpoll.c so the key field now contains the actual
events that should be polled for as set by the caller.
The solution to the NULL poll_table pointer is to set the qproc field to
NULL in poll_table once poll() matches the events, not the poll_table
pointer itself. That way drivers can obtain the mask through a new
poll_requested_events inline.
The poll_table_struct can still be NULL since some kernel code calls it
internally (netfs_state_poll() in ./drivers/staging/pohmelfs/netfs.h). In
that case poll_requested_events() returns ~0 (i.e. all events).
Very rarely drivers might want to know whether poll_wait will actually
wait. If another earlier file descriptor in the set already matched the
events the caller wanted to wait for, then the kernel will return from the
select() call without waiting. This might be useful information in order
to avoid doing expensive work.
A new helper function poll_does_not_wait() is added that drivers can use
to detect this situation. This is now used in sock_poll_wait() in
include/net/sock.h. This was the only place in the kernel that needed
this information.
Drivers should no longer access any of the poll_table internals, but use
the poll_requested_events() and poll_does_not_wait() access functions
instead. In order to enforce that the poll_table fields are now prepended
with an underscore and a comment was added warning against using them
directly.
This required a change in unix_dgram_poll() in unix/af_unix.c which used
the key field to get the requested events. It's been replaced by a call
to poll_requested_events().
For qproc it was especially important to change its name since the
behavior of that field changes with this patch since this function pointer
can now be NULL when that wasn't possible in the past.
Any driver accessing the qproc or key fields directly will now fail to compile.
Some notes regarding the correctness of this patch: the driver's poll()
function is called with a 'struct poll_table_struct *wait' argument. This
pointer may or may not be NULL, drivers can never rely on it being one or
the other as that depends on whether or not an earlier file descriptor in
the select()'s fdset matched the requested events.
There are only three things a driver can do with the wait argument:
1) obtain the key field:
events = wait ? wait->key : ~0;
This will still work although it should be replaced with the new
poll_requested_events() function (which does exactly the same).
This will now even work better, since wait is no longer set to NULL
unnecessarily.
2) use the qproc callback. This could be deadly since qproc can now be
NULL. Renaming qproc should prevent this from happening. There are no
kernel drivers that actually access this callback directly, BTW.
3) test whether wait == NULL to determine whether poll would return without
waiting. This is no longer sufficient as the correct test is now
wait == NULL || wait->_qproc == NULL.
However, the worst that can happen here is a slight performance hit in
the case where wait != NULL and wait->_qproc == NULL. In that case the
driver will assume that poll_wait() will actually add the fd to the set
of waiting file descriptors. Of course, poll_wait() will not do that
since it tests for wait->_qproc. This will not break anything, though.
There is only one place in the whole kernel where this happens
(sock_poll_wait() in include/net/sock.h) and that code will be replaced
by a call to poll_does_not_wait() in the next patch.
Note that even if wait->_qproc != NULL drivers cannot rely on poll_wait()
actually waiting. The next file descriptor from the set might match the
event mask and thus any possible waits will never happen.
Signed-off-by: Hans Verkuil <[email protected] >
Reviewed-by: Jonathan Corbet <[email protected] >
Reviewed-by: Al Viro <[email protected] >
Cc: Davide Libenzi <[email protected] >
Signed-off-by: Hans de Goede <[email protected] >
Cc: Mauro Carvalho Chehab <[email protected] >
Cc: David Miller <[email protected] >
Cc: Eric Dumazet <[email protected] >
Signed-off-by: Andrew Morton <[email protected] >
Signed-off-by: Linus Torvalds <[email protected] >
2012-03-23 16:58:38 -07:00
..
amba
SPI changes for v3.4.
2012-03-21 10:32:00 -07:00
bcma
bcma: add support for on-chip OTP memory used for SPROM storage
2012-03-06 15:16:18 -05:00
byteorder
caif
can
can: dev: let can_get_echo_skb() return dlc of CAN frame
2012-02-03 01:21:25 +01:00
ceph
crush
decompress
dvb
hdlc
i2c
Merge branch 'drm-next' of git://people.freedesktop.org/~airlied/linux
2012-03-22 13:08:22 -07:00
input
Input: ili210x - add support for Ilitek ILI210x based touchscreens
2012-03-17 12:20:44 -07:00
isdn
lockd
Lockd: shutdown NLM hosts in network namespace context
2012-02-15 00:19:48 -05:00
mfd
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2012-03-22 20:20:18 -07:00
mlx4
InfiniBand/RDMA changes for the 3.4 merge window. Nothing big really
2012-03-21 10:33:42 -07:00
mmc
headers: include linux/types.h where appropriate
2012-03-23 16:58:31 -07:00
mtd
- Fix a regression in 16-bit Atmel NAND flash which was introduced in 3.1
2012-02-04 07:17:47 -08:00
netfilter
netfilter: xt_CT: allow to attach timeout policy + glue code
2012-03-07 17:41:28 +01:00
netfilter_arp
netfilter_bridge
netfilter: ebtables: fix alignment problem in ppc
2012-02-21 13:29:06 +01:00
netfilter_ipv4
netfilter: remove ipt_SAME.h and ipt_realm.h
2012-03-07 17:40:56 +01:00
netfilter_ipv6
netfilter: merge ipt_LOG and ip6_LOG into xt_LOG
2012-03-07 17:40:49 +01:00
nfc
nfsd
pinctrl
pinctrl: introduce generic pin config
2012-03-12 22:49:02 +01:00
platform_data
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
2012-03-22 20:20:18 -07:00
power
raid
md: Use existed macros instead of numbers
2012-03-13 11:21:23 +11:00
regulator
Merge remote-tracking branch 'regulator/topic/supply' into regulator-next
2012-03-18 21:39:19 +00:00
rtc
spi
spi: sh-hspi: control spi clock more correctly
2012-03-15 03:41:01 -06:00
ssb
ssb: add some missing sprom attributes
2012-03-05 15:20:49 -05:00
sunrpc
SUNRPC: Kill compiler warning when RPC_DEBUG is unset
2012-03-21 09:31:31 -04:00
tc_act
tc_ematch
unaligned
usb
USB: EHCI: Add a generic platform device driver
2012-03-15 12:42:07 -07:00
uwb
wimax
8250_pci.h
a.out.h
ac97_codec.h
acct.h
acpi.h
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
2012-01-18 15:51:48 -08:00
acpi_io.h
ACPI: Export interfaces for ioremapping/iounmapping ACPI registers
2012-01-17 04:35:20 -05:00
acpi_pmtmr.h
adb.h
adfs_fs.h
aer.h
affs_hardblocks.h
agp_backend.h
agpgart.h
ahci_platform.h
aio.h
aio_abi.h
alarmtimer.h
altera_jtaguart.h
altera_uart.h
tty: serial: altera_uart: remove early_altera_uart_setup
2012-02-09 09:04:23 -08:00
amd-iommu.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm-emulation.h
apm_bios.h
arcdevice.h
arcfb.h
async.h
async_tx.h
ata.h
ata_platform.h
atalk.h
ath9k_platform.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-mci.h
atmel-pwm-bl.h
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
atomic.h
atomic: Allow atomic_inc_not_zero to be overridden
2012-03-07 17:06:08 +11:00
attribute_container.h
audit.h
constify path argument of audit_log_d_path()
2012-03-20 21:29:40 -04:00
auto_dev-ioctl.h
auto_fs.h
auto_fs4.h
auxvec.h
average.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
basic_mmio_gpio.h
baycom.h
bcd.h
bch.h
bfin_mac.h
bfs_fs.h
binfmts.h
__register_binfmt() made void
2012-03-20 21:29:46 -04:00
bio.h
fs: remove the second argument of k[un]map_atomic()
2012-03-20 21:48:21 +08:00
bit_spinlock.h
bitmap.h
bitops.h
bitops: introduce for_each_clear_bit()
2012-03-23 16:58:34 -07:00
bitrev.h
blk-iopoll.h
blk_types.h
blkdev.h
block: strip out locking optimization in put_io_context()
2012-02-07 07:51:30 +01:00
blkpg.h
blktrace_api.h
blockgroup_lock.h
bma150.h
bootmem.h
bottom_half.h
bpqether.h
brcmphy.h
bsearch.h
bsg-lib.h
bsg.h
btree-128.h
btree-type.h
btree.h
buffer_head.h
bug.h
c2port.h
cache.h
can.h
capability.h
Merge branch 'for-linus' of git://selinuxproject.org/~jmorris/linux-security
2012-01-14 18:36:33 -08:00
capi.h
cb710.h
cciss_defs.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h
cdrom: move shared static to cdrom_device_info
2012-02-08 20:03:14 +01:00
cfag12864b.h
cgroup.h
cgroup: revert ss_id_lock to spinlock
2012-03-21 17:55:01 -07:00
cgroup_subsys.h
cgroupstats.h
chio.h
circ_buf.h
cleancache.h
mm: zcache/tmem/cleancache: s/flush/invalidate/
2012-01-23 16:06:37 -05:00
clk.h
clkdev.h
clksrc-dbx500-prcmu.h
clockchips.h
clocksource.h
clocksource: Get rid of clocksource_calc_mult_shift()
2012-02-01 18:37:39 -08:00
cm4000_cs.h
cn_proc.h
cnt32_to_63.h
coda.h
coda_psdev.h
coff.h
com20020.h
compaction.h
vmscan: only defer compaction for failed order and higher
2012-03-21 17:54:56 -07:00
compat.h
Fix autofs compile without CONFIG_COMPAT
2012-02-26 09:44:55 -08:00
compiler-gcc.h
include/ and checkpatch: prefer __scanf to __attribute__((format(scanf,...)
2012-03-23 16:58:36 -07:00
compiler-gcc3.h
compiler-gcc4.h
kernel.h: add BUILD_BUG() macro
2012-01-10 16:30:42 -08:00
compiler-intel.h
compiler.h
compiler.h: Fix typo
2012-02-28 16:02:54 +01:00
completion.h
comstats.h
concap.h
configfs.h
connector.h
drivers: hv: kvp: Add/cleanup connector defines
2012-02-02 15:30:47 -08:00
console.h
module_param: make bool parameters really bool (drivers & misc)
2012-01-13 09:32:20 +10:30
console_struct.h
consolemap.h
const.h
cordic.h
coredump.h
cper.h
cpu.h
CPU: Introduce ARCH_HAS_CPU_AUTOPROBE and X86 parts
2012-01-26 16:49:08 -08:00
cpu_pm.h
cpu_rmap.h
cpufreq.h
cpuidle.h
Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux
2012-01-18 15:51:48 -08:00
cpumask.h
cpuset.h
cpuset: mm: reduce large amounts of memory barrier related damage v3
2012-03-21 17:54:59 -07:00
cramfs_fs.h
cramfs_fs_sb.h
crash_dump.h
include/linux/crash_dump.h needs elf.h
2012-01-12 20:13:11 -08:00
crc-ccitt.h
crc-itu-t.h
crc-t10dif.h
crc7.h
crc8.h
crc16.h
crc32.h
crc32: bolt on crc32c
2012-03-23 16:58:38 -07:00
crc32c.h
cred.h
crypto.h
crypto: Add bulk algorithm registration interface
2012-01-26 13:35:49 +11:00
cryptohash.h
cryptouser.h
cs5535.h
ctype.h
cuda.h
cyclades.h
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h
davinci_emac.h
dca.h
dcache.h
vfs: d_alloc_root() gone
2012-03-20 21:29:37 -04:00
dcbnl.h
dccp.h
dccp: fix bug in sequence number validation during connection setup
2012-03-03 09:02:52 -07:00
dcookies.h
debug_locks.h
debugfs.h
debugfs-related mode_t whack-a-mole
2012-03-20 21:29:53 -04:00
debugobjects.h
delay.h
delayacct.h
devfreq.h
PM / devfreq: add relation of recommended frequency.
2012-03-17 21:51:34 +01:00
device-mapper.h
device.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
2012-03-21 18:55:10 -07:00
device_cgroup.h
devpts_fs.h
digsig.h
digsig: changed type of the timestamp
2012-02-20 19:46:36 +11:00
dio.h
dirent.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-kcopyd.h
dm-log-userspace.h
dm-region-hash.h
dm9000.h
dma-attrs.h
dma-buf.h
dma-debug.h
dma-direction.h
dma-mapping.h
dma_remapping.h
dmaengine.h
dmapool.h
dmar.h
dmi.h
dn.h
dnotify.h
dns_resolver.h
dqblk_qtree.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
drbd.h
drbd_limits.h
drbd_nl.h
drbd_tag_magic.h
ds1286.h
ds2782_battery.h
ds17287rtc.h
dtlk.h
dw_apb_timer.h
dw_dmac.h
dynamic_debug.h
dynamic_debug: reduce lineno field to a saner 18 bits
2012-01-24 12:48:54 -08:00
dynamic_queue_limits.h
ecryptfs.h
edac.h
edd.h
eeprom_93cx6.h
eeprom_93xx46.h
efi.h
x86, efi: Allow basic init with mixed 32/64-bit efi/kernel
2012-02-23 18:54:51 -08:00
efs_fs_sb.h
efs_vh.h
eisa.h
elevator.h
block: don't call elevator callbacks for plug merges
2012-02-08 09:19:42 +01:00
elf-em.h
elf-fdpic.h
elf.h
elfcore-compat.h
elfcore.h
elfnote.h
enclosure.h
err.h
errno.h
drivercore: Add driver probe deferral mechanism
2012-03-08 11:53:13 -08:00
errqueue.h
etherdevice.h
rename dev_hw_addr_random and remove redundant second
2012-02-13 00:46:41 -05:00
ethtool.h
ethtool, mdio, mii: Specify MDIO information fields in struct ethtool_cmd
2012-03-01 16:41:26 -05:00
eventfd.h
eventpoll.h
epoll: limit paths
2012-01-12 20:13:04 -08:00
evm.h
export.h
exportfs.h
ext2_fs.h
ext2_fs_sb.h
ext3_fs.h
ext3_fs_i.h
ext3_fs_sb.h
ext3_jbd.h
f75375s.h
fadvise.h
falloc.h
fanotify.h
fault-inject.h
fb.h
udlfb: remove sysfs framebuffer device with USB .disconnect()
2012-03-15 13:35:22 +00:00
fcdevice.h
fcntl.h
fd.h
fddidevice.h
fdreg.h
fdtable.h
fec.h
fib_rules.h
fiemap.h
file.h
vfs: drop_file_write_access() made static
2012-03-20 21:29:32 -04:00
filter.h
fips.h
firewire-cdev.h
firewire: allow explicit flushing of iso packet completions
2012-03-18 22:15:39 +01:00
firewire-constants.h
firewire.h
firewire: allow explicit flushing of iso packet completions
2012-03-18 22:15:39 +01:00
firmware-map.h
firmware.h
flat.h
flex_array.h
font.h
freezer.h
PM / Hibernate: Fix s2disk regression related to freezing workqueues
2012-01-29 20:35:52 +01:00
fs.h
switch touch_atime to struct path
2012-03-20 21:29:41 -04:00
fs_enet_pd.h
fs_stack.h
fs_struct.h
fs_uart_pd.h
fscache-cache.h
fscache.h
fsl-diu-fb.h
fsl_devices.h
fsl_hypervisor.h
fsnotify.h
fsnotify_backend.h
ftrace.h
ftrace, perf: Add filter support for function trace event
2012-02-21 11:08:30 -05:00
ftrace_event.h
ftrace: Allow to specify filter field type for ftrace events
2012-02-21 11:08:29 -05:00
ftrace_irq.h
fuse.h
futex.h
gameport.h
gcd.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h
genetlink.h
genhd.h
block: Fix NULL pointer dereference in sd_revalidate_disk
2012-03-02 10:38:33 +01:00
getcpu.h
gfp.h
mm: try to distribute dirty pages fairly across zones
2012-01-10 16:30:43 -08:00
gfs2_ondisk.h
GFS2: FITRIM ioctl support
2012-02-28 17:10:21 +00:00
gigaset_dev.h
gpio-fan.h
gpio-i2cmux.h
gpio-pxa.h
gpio.h
gpio_keys.h
Input: gpio_keys - fix struct device declared inside parameter list
2012-02-01 09:13:11 -08:00
gpio_mouse.h
gsmmux.h
hardirq.h
hash.h
hdlc.h
hdlcdrv.h
hdreg.h
hid-debug.h
hid-roccat.h
hid.h
hiddev.h
hidraw.h
highmem.h
highmem: kill all __kmap_atomic()
2012-03-20 21:48:30 +08:00
highuid.h
hil.h
hil_mlc.h
hippidevice.h
hp_sdc.h
hpet.h
hrtimer.h
htcpld.h
htirq.h
huge_mm.h
thp: add HPAGE_PMD_* definitions for !CONFIG_TRANSPARENT_HUGEPAGE
2012-03-21 17:55:02 -07:00
hugetlb.h
hugetlbfs: fix alignment of huge page requests
2012-03-21 17:54:59 -07:00
hugetlb_inline.h
hw_breakpoint.h
hw_random.h
hwmon-sysfs.h
hwmon-vid.h
hwmon.h
hwspinlock.h
hyperv.h
Tools: hv: Support enumeration from all the pools
2012-03-16 13:36:04 -07:00
hysdn_if.h
i2c-algo-bit.h
i2c: export bit-banging algo functions
2012-02-29 20:47:42 +01:00
i2c-algo-pca.h
i2c-algo-pcf.h
i2c-dev.h
i2c-gpio.h
i2c-mux.h
i2c-ocores.h
i2c-omap.h
i2c-pca-platform.h
i2c-pnx.h
i2c-pxa.h
i2c-smbus.h
i2c-tegra.h
i2c-xiic.h
i2c.h
i2o-dev.h
i2o.h
i8k.h
i7300_idle.h
i8042.h
i8253.h
i82593.h
ibmtr.h
icmp.h
icmpv6.h
ide.h
idr.h
ieee80211.h
if.h
net: Add framework to allow sending packets with customized CRC.
2012-02-24 01:37:35 -08:00
if_addr.h
if_addrlabel.h
if_alg.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
rtnetlink: Fix problem with buffer allocation
2012-02-21 16:56:45 -05:00
if_ltalk.h
if_macvlan.h
if_packet.h
if_phonet.h
if_plip.h
if_ppp.h
ppp: Move ioctl definitions from if_ppp.h to new ppp-ioctl.h
2012-03-04 20:41:38 -05:00
if_pppol2tp.h
if_pppox.h
if_slip.h
if_strip.h
if_team.h
team: send only changed options/ports via netlink
2012-01-24 15:51:00 -05:00
if_tr.h
if_tun.h
if_tunnel.h
if_vlan.h
if_vlan: Remove VLAN_ETH_ALEN define and the 1 use of it
2012-03-19 16:53:08 -04:00
if_x25.h
igmp.h
ihex.h
ima.h
in.h
ipv4: Implement IP_UNICAST_IF socket option.
2012-02-08 15:52:45 -05:00
in6.h
ipv6: Implement IPV6_UNICAST_IF socket option.
2012-02-08 15:52:45 -05:00
in_route.h
inet.h
inet_diag.h
inet_diag: Rename inet_diag_req_compat into inet_diag_req
2012-01-11 12:56:06 -08:00
inet_lro.h
inetdevice.h
arp: allow arp processing to honor per interface arp_accept sysctl
2012-03-16 23:00:20 -07:00
init.h
module_param: make bool parameters really bool (core code)
2012-01-13 09:32:18 +10:30
init_ohci1394_dma.h
init_task.h
cpuset: mm: reduce large amounts of memory barrier related damage v3
2012-03-21 17:54:59 -07:00
initrd.h
inotify.h
input-polldev.h
input.h
Merge branch 'for-next' of github.com:rydberg/linux into next
2012-03-09 10:56:35 -08:00
integrity.h
intel-iommu.h
intel_mid_dma.h
intel_pmic_gpio.h
interrupt.h
tracing/softirq: Move __raise_softirq_irqoff() out of header
2012-02-03 09:48:19 -05:00
io-mapping.h
io.h
ioc3.h
ioc4.h
iocontext.h
block: exit_io_context() should call elevator_exit_icq_fn()
2012-02-15 09:45:53 +01:00
ioctl.h
iommu-helper.h
iommu.h
ioport.h
ioprio.h
iova.h
ip.h
ip6_tunnel.h
ip_vs.h
ipc.h
ipc_namespace.h
ipmi.h
ipmi_msgdefs.h
ipmi_smi.h
ipsec.h
ipv6.h
net: implement IP_RECVTOS for IP_PKTOPTIONS
2012-02-13 00:46:41 -05:00
ipv6_route.h
ipx.h
irda.h
irq.h
irq_cpustat.h
irq_work.h
irqdesc.h
irqdomain.h
irq_domain: Centralize definition of irq_dispose_mapping()
2012-02-26 16:48:06 -07:00
irqflags.h
irqnr.h
irqreturn.h
isa.h
isapnp.h
iscsi_boot_sysfs.h
iscsi_ibft.h
isdn.h
ppp: Replace uses of <linux/if_ppp.h> with <linux/ppp-ioctl.h>
2012-03-04 20:41:38 -05:00
isdn_divertif.h
isdn_ppp.h
isdnif.h
isicom.h
iso_fs.h
istallion.h
ivtv.h
ivtvfb.h
ixjuser.h
jbd.h
jbd2.h
jbd_common.h
jffs2.h
jhash.h
jiffies.h
journal-head.h
joystick.h
jump_label.h
static keys: Inline the static_key_enabled() function
2012-02-28 20:01:08 +01:00
jz4740-adc.h
kallsyms.h
kbd_diacr.h
kbd_kern.h
vt:tackle kbd_table
2012-03-08 10:50:35 -08:00
Kbuild
ppp: Move ioctl definitions from if_ppp.h to new ppp-ioctl.h
2012-03-04 20:41:38 -05:00
kbuild.h
kconfig.h
kd.h
kdb.h
kdebug.h
kdev_t.h
kernel-page-flags.h
pagemap: export KPF_THP
2012-03-21 17:54:57 -07:00
kernel.h
include/ and checkpatch: prefer __scanf to __attribute__((format(scanf,...)
2012-03-23 16:58:36 -07:00
kernel_stat.h
kernelcapi.h
kexec.h
kdump: define KEXEC_NOTE_BYTES arch specific for s390x
2012-01-23 08:38:48 -08:00
key-type.h
key.h
NFS client updates for Linux 3.4
2012-03-23 08:53:47 -07:00
keyboard.h
vt:tackle kbd_table
2012-03-08 10:50:35 -08:00
keyctl.h
kfifo.h
kgdb.h
khugepaged.h
klist.h
kmalloc_sizes.h
kmemcheck.h
kmemleak.h
kmod.h
kmsg_dump.h
kmsg_dump: don't run on non-error paths by default
2012-03-05 15:49:42 -08:00
kobj_map.h
kobject.h
kobject_ns.h
kprobes.h
kref.h
Fix compile breakage with kref.h
2012-01-17 15:40:51 -08:00
ks0108.h
ks8842.h
ksm.h
kthread.h
ktime.h
kvm.h
kvm_host.h
kvm_para.h
kvm_types.h
l2tp.h
lapb.h
latencytop.h
lcd.h
lcm.h
led-lm3530.h
leds-lm3530: support pwm input mode
2012-03-23 16:58:35 -07:00
leds-bd2802.h
leds-lp3944.h
leds-lp5521.h
drivers/leds/leds-lp5521.c: support led pattern data
2012-03-23 16:58:34 -07:00
leds-lp5523.h
leds-pca9532.h
leds-regulator.h
leds-tca6507.h
leds: add driver for TCA6507 LED controller
2012-01-10 16:30:49 -08:00
leds.h
leds_pwm.h
lglock.h
lguest.h
lguest_launcher.h
libata.h
[SCSI] libsas: async ata scanning
2012-02-29 15:35:41 -06:00
libps2.h
license.h
limits.h
linkage.h
include/linux/linkage.h: remove unused ATTRIB_NORET macro
2012-01-12 20:13:03 -08:00
linux_logo.h
lis3lv02d.h
list.h
list_bl.h
list_nulls.h
list_sort.h
llc.h
llist.h
lockdep.h
log2.h
loop.h
lp.h
lp855x.h
backlight: new backlight driver for LP855x devices
2012-03-23 16:58:33 -07:00
lp8727.h
include/linux/lp8727.h: Remove executable bit
2012-02-02 15:43:40 -08:00
lru_cache.h
lsm_audit.h
lzo.h
m48t86.h
magic.h
magic.h: move some FS magic numbers into magic.h
2012-03-23 16:58:31 -07:00
major.h
map_to_7segment.h
maple.h
marvell_phy.h
math64.h
math: Introduce div64_long
2012-03-15 21:41:34 +01:00
matroxfb.h
max17040_battery.h
mbcache.h
mbus.h
mc6821.h
mc146818rtc.h
mca-legacy.h
mca.h
mdio-bitbang.h
mdio-gpio.h
mdio.h
mdio.h: Include linux/types.h
2012-03-03 15:04:45 -05:00
media.h
memblock.h
memcontrol.h
memcg: fix performance of mem_cgroup_begin_update_page_stat()
2012-03-21 17:55:02 -07:00
memory.h
memory_hotplug.h
mempolicy.h
mm/mempolicy.c: mpol_equal(): use bool
2012-01-10 16:30:45 -08:00
mempool.h
memstick.h
meye.h
mg_disk.h
micrel_phy.h
migrate.h
mm: replace PAGE_MIGRATION with IS_ENABLED(CONFIG_MIGRATION)
2012-03-21 17:54:57 -07:00
migrate_mode.h
mm: fix warnings regarding enum migrate_mode
2012-01-23 08:38:47 -08:00
mii.h
minix_fs.h
miscdevice.h
vhost-net: add module alias (v2.1)
2012-01-13 10:12:23 -08:00
mISDNdsp.h
mISDNhw.h
mISDNif.h
mm.h
Merge branch 'x86-mce-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
2012-03-22 09:42:04 -07:00
mm_inline.h
mm: remove del_page_from_lru, add page_off_lru
2012-01-12 20:13:10 -08:00
mm_types.h
mm,slub,x86: decouple size of struct page from CONFIG_CMPXCHG_LOCAL
2012-01-12 20:13:03 -08:00
mman.h
mmdebug.h
mmiotrace.h
mmtimer.h
mmu_context.h
mmu_notifier.h
mmzone.h
vmscan: only defer compaction for failed order and higher
2012-03-21 17:54:56 -07:00
mnt_namespace.h
mod_devicetable.h
Merge 3.3-rc2 into the driver-core-next branch.
2012-02-02 11:24:44 -08:00
module.h
module: struct module_ref should contains long fields
2012-01-13 09:32:14 +10:30
moduleloader.h
moduleparam.h
module_param: check that bool parameters really are bool.
2012-01-13 09:32:28 +10:30
mount.h
mpage.h
mpi.h
lib/mpi: replaced MPI_NULL with normal NULL
2012-02-02 00:23:14 +11:00
mqueue.h
mroute.h
mroute6.h
msdos_fs.h
msg.h
msi.h
msm_mdp.h
mtio.h
mutex-debug.h
mutex.h
mv643xx.h
mv643xx_eth.h
mv643xx_i2c.h
mxm-wmi.h
n_r3964.h
namei.h
nbd.h
ncp.h
ncp_fs.h
ncp_mount.h
ncp_no.h
neighbour.h
net.h
sock: Introduce the SO_PEEK_OFF sock option
2012-02-21 15:03:48 -05:00
net_dropmon.h
net_tstamp.h
netdev_features.h
net: Support RX-ALL feature flag.
2012-02-24 01:42:07 -08:00
netdevice.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next
2012-03-20 21:04:47 -07:00
netfilter.h
static keys: Introduce 'struct static_key', static_key_true()/false() and static_key_slow_[inc|dec]()
2012-02-24 10:05:59 +01:00
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h
netlink: allow to pass data pointer to netlink_dump_start() callback
2012-02-26 14:10:44 -05:00
netpoll.h
netrom.h
nfc.h
NFC: Add device powered netlink attribute
2012-03-06 15:16:19 -05:00
nfs.h
SUNRPC: handle RPC client pipefs dentries by network namespace aware routines
2012-01-31 18:20:25 -05:00
nfs2.h
nfs3.h
nfs4.h
NFSv4: Simplify the struct nfs4_stateid
2012-03-06 10:32:47 -05:00
nfs4_mount.h
nfs_fs.h
NFS: Fix more NFS debug related build warnings
2012-03-21 09:31:44 -04:00
nfs_fs_i.h
NFS: Remove unnecessary includes from linux/nfs_fs_i.h
2012-01-31 18:20:28 -05:00
nfs_fs_sb.h
NFS: Request fh_expire_type attribute in "server caps" operation
2012-03-02 17:18:10 -05:00
nfs_idmap.h
NFS: Undo changes to idmap.h
2012-03-05 15:26:47 -05:00
nfs_iostat.h
SUNRPC: add sending,pending queue and max slot to xprt stats
2012-02-16 14:55:27 -05:00
nfs_mount.h
nfs_page.h
NFSv4.1: Clean ups and bugfixes for the pNFS read/writeback/commit code
2012-03-17 11:09:33 -04:00
nfs_xdr.h
NFS: Remove nfs4_setup_sequence from generic rename code
2012-03-21 09:31:46 -04:00
nfsacl.h
nilfs2_fs.h
nl80211.h
cfg80211: Add background scan period attribute.
2012-03-12 14:19:34 -04:00
nl802154.h
nls.h
nmi.h
nmi watchdog: do not use cpp symbol in Kconfig
2012-03-23 16:58:31 -07:00
node.h
nodemask.h
notifier.h
nsc_gpio.h
nsproxy.h
nubus.h
numa.h
nvme.h
nvram.h
nwpserial.h
of.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/benh/powerpc
2012-03-21 18:55:10 -07:00
of_address.h
of/address: add empty static inlines for !CONFIG_OF
2012-02-16 06:11:23 -07:00
of_device.h
drivercore: Output common devicetree information in uevent
2012-02-01 14:26:30 -07:00
of_fdt.h
of_gpio.h
of_i2c.h
of_irq.h
irq_domain: Centralize definition of irq_dispose_mapping()
2012-02-26 16:48:06 -07:00
of_mdio.h
of_net.h
of_pci.h
of_pdt.h
of_platform.h
dt: fix twl4030 for non-dt compile on x86
2012-03-05 08:09:09 -07:00
of_spi.h
omap3isp.h
omapfb.h
OMAP1: pass LCD config with omapfb_set_lcd_config()
2012-02-23 09:39:23 +02:00
oom.h
mm, oom: force oom kill on sysrq+f
2012-03-21 17:54:58 -07:00
openvswitch.h
opp.h
oprofile.h
oxu210hp.h
padata.h
padata: Fix race on sequence number wrap
2012-03-14 17:25:56 +08:00
page-debug-flags.h
mm: more intensive memory corruption debugging
2012-01-10 16:30:42 -08:00
page-flags.h
thp: allow a hwpoisoned head page to be put back to LRU
2012-03-21 17:54:58 -07:00
page-isolation.h
page_cgroup.h
memcg: remove PCG_FILE_MAPPED
2012-03-21 17:55:01 -07:00
pageblock-flags.h
pagemap.h
pagevec.h
mm: fewer underscores in ____pagevec_lru_add
2012-01-12 20:13:10 -08:00
param.h
parport.h
parport_pc.h
parser.h
pata_arasan_cf_data.h
patchkey.h
path.h
pch_dma.h
pci-acpi.h
pci-aspm.h
pci-ats.h
pci-dma.h
pci.h
Features:
2012-03-22 20:16:14 -07:00
pci_hotplug.h
pci_ids.h
tg3: Recode PCI MRRS adjustment as a PCI quirk
2012-03-04 20:54:01 -05:00
pci_regs.h
Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
2012-01-11 18:50:26 -08:00
pcieport_if.h
pda_power.h
percpu-defs.h
percpu.h
percpu: fix __this_cpu_{sub,inc,dec}_return() definition
2012-03-04 09:34:15 -08:00
percpu_counter.h
perf_event.h
perf: Add ABI reference sizes
2012-03-09 08:26:05 +01:00
personality.h
pfkeyv2.h
pfn.h
pg.h
phantom.h
phonedev.h
phonet.h
phy.h
phylib: introduce mdiobus_alloc_size()
2012-01-12 15:23:04 -08:00
phy_fixed.h
pid.h
pid_namespace.h
procfs: add hidepid= and gid= mount options
2012-01-10 16:30:54 -08:00
pim.h
pipe_fs_i.h
magic.h: move some FS magic numbers into magic.h
2012-03-23 16:58:31 -07:00
pkt_cls.h
pkt_sched.h
net/sched: sch_plug - Queue traffic until an explicit release command
2012-02-07 12:54:56 -05:00
pktcdvd.h
platform_device.h
plist.h
pm.h
Merge branch 'pm-qos'
2012-03-16 21:49:24 +01:00
pm_clock.h
pm_domain.h
PM / Domains: Introduce "always on" device flag
2012-03-16 21:44:59 +01:00
pm_qos.h
PM / QoS: Make it possible to expose PM QoS latency constraints
2012-03-13 22:37:14 +01:00
pm_runtime.h
pm_wakeup.h
PM / Sleep: Add more wakeup source initialization routines
2012-03-04 23:08:46 +01:00
pmu.h
pnfs_osd_xdr.h
pnp.h
poison.h
poll.h
poll: add poll_requested_events() and poll_does_not_wait() functions
2012-03-23 16:58:38 -07:00
posix-clock.h
posix-timers.h
posix_acl.h
posix_acl_xattr.h
posix_types.h
power_supply.h
ppdev.h
ppp-comp.h
ppp: Change copyright notices from ANU to me
2012-03-04 20:41:38 -05:00
ppp-ioctl.h
ppp: Move ioctl definitions from if_ppp.h to new ppp-ioctl.h
2012-03-04 20:41:38 -05:00
ppp_channel.h
ppp_defs.h
ppp: Change copyright notices from ANU to me
2012-03-04 20:41:38 -05:00
pps-gpio.h
pps.h
pps_kernel.h
prctl.h
prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process supervision
2012-03-23 16:58:32 -07:00
preempt.h
sched/rt: Document scheduler related skip-resched-check sites
2012-03-01 10:28:04 +01:00
prefetch.h
printk.h
driver core merge for 3.4-rc1
2012-03-20 11:16:20 -07:00
prio_heap.h
prio_tree.h
proc_fs.h
procfs: make proc_get_link to use dentry instead of inode
2012-01-10 16:30:54 -08:00
profile.h
proportions.h
lib: proportion: lower PROP_MAX_SHIFT to 32 on 64-bit kernel
2012-02-01 16:53:46 +08:00
pstore.h
pti.h
ptp_classify.h
ptp_clock.h
ptp_clock_kernel.h
ptrace.h
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit
2012-01-17 16:41:31 -08:00
pwm.h
pwm_backlight.h
pxa2xx_ssp.h
pxa168_eth.h
qnx4_fs.h
qnx6_fs.h
fs: initial qnx6fs addition
2012-03-20 21:29:38 -04:00
qnxtypes.h
quicklist.h
quota.h
quota: Pass information that quota is stored in system file to userspace
2012-01-12 13:09:09 +01:00
quotaops.h
radeonfb.h
radix-tree.h
radix_tree: remove radix_tree_indirect_to_ptr()
2012-01-12 20:13:12 -08:00
raid_class.h
ramfs.h
ramoops.h
random.h
range.h
ratelimit.h
rational.h
raw.h
rbtree.h
rculist.h
rculist_bl.h
rculist_nulls.h
rcupdate.h
consolidate WARN_...ONCE() static variables
2012-03-23 16:58:31 -07:00
rcutiny.h
rcu: Prevent RCU callbacks from executing before scheduler initialized
2012-02-21 09:03:41 -08:00
rcutree.h
rcu: Call out dangers of expedited RCU primitives
2012-02-21 09:06:08 -08:00
rds.h
reboot.h
reciprocal_div.h
regmap.h
Merge remote-tracking branch 'regmap/topic/bulk' into regmap-next
2012-03-14 13:15:48 +00:00
regset.h
regset: Return -EFAULT, not -EIO, on host-side memory fault
2012-03-02 11:38:15 -08:00
reiserfs_fs.h
move private bits of reiserfs_fs.h to fs/reiserfs/reiserfs.h
2012-03-20 21:29:43 -04:00
reiserfs_xattr.h
take private bits of reiserfs_xattr.h to fs/reiserfs/xattr.h
2012-03-20 21:29:42 -04:00
relay.h
res_counter.h
net: introduce res_counter_charge_nofail() for socket allocations
2012-01-22 15:08:46 -05:00
resource.h
resume-trace.h
rfkill-gpio.h
rfkill-regulator.h
rfkill.h
ring_buffer.h
rio.h
rio_drv.h
rio_ids.h
rio_regs.h
rmap.h
rmap: remove __anon_vma_link() declaration
2012-03-21 17:54:57 -07:00
romfs_fs.h
root_dev.h
rose.h
rotary_encoder.h
route.h
rslib.h
rtc-v3020.h
rtc.h
rtmutex.h
rtnetlink.h
rtnetlink: Fix problem with buffer allocation
2012-02-21 16:56:45 -05:00
rwlock.h
rwlock_api_smp.h
rwlock_types.h
rwsem-spinlock.h
rwsem.h
rxrpc.h
s3c_adc_battery.h
sc26198.h
scatterlist.h
scc.h
sched.h
prctl: add PR_{SET,GET}_CHILD_SUBREAPER to allow simple process supervision
2012-03-23 16:58:32 -07:00
screen_info.h
sctp.h
scx200.h
scx200_gpio.h
sdla.h
seccomp.h
securebits.h
security.h
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/jmorris/linux-security
2012-03-21 13:25:04 -07:00
selection.h
selinux.h
selinux_netlink.h
sem.h
semaphore.h
seq_file.h
seq_file_net.h
seqlock.h
serial.h
TTY: serial, simplify ASYNC_USR_MASK
2012-03-08 11:38:50 -08:00
serial167.h
serial_8250.h
serial_core.h
serial: introduce generic port in/out helpers
2012-03-09 12:47:56 -08:00
serial_max3100.h
serial_mfd.h
serial_pnx8xxx.h
serial_reg.h
serial_sci.h
serio.h
sfi.h
sfi_acpi.h
sh_clk.h
sh_dma.h
dma: sh_dma: not all SH DMAC implementations support MEMCPY
2012-02-01 22:23:53 +05:30
sh_eth.h
net: sh_eth: change the condition of initialization
2012-02-16 17:08:09 -05:00
sh_intc.h
sh_pfc.h
sh_timer.h
shm.h
shmem_fs.h
SHM_UNLOCK: fix Unevictable pages stranded after swap
2012-01-23 08:38:48 -08:00
shrinker.h
sht15.h
signal.h
signal: add block_sigmask() for adding sigmask to current->blocked
2012-01-10 16:30:54 -08:00
signalfd.h
epoll: introduce POLLFREE to flush ->signalfd_wqh before kfree()
2012-02-24 11:42:50 -08:00
sirfsoc_dma.h
skbuff.h
net: update the usage of CHECKSUM_UNNECESSARY
2012-03-19 17:37:35 -04:00
slab.h
slab_def.h
tracing/mm: Move include of trace/events/kmem.h out of header into slab.c
2012-01-09 14:19:33 -08:00
slob_def.h
slub_def.h
sm501-regs.h
sm501.h
smc91x.h
smc911x.h
smp.h
smsc911x.h
smscphy.h
snmp.h
tcp: reduce out_of_order memory use
2012-03-19 16:53:08 -04:00
sock_diag.h
socket.h
net: get rid of some pointless casts to sockaddr
2012-03-11 19:11:22 -07:00
sockios.h
som.h
sonet.h
sony-laptop.h
sonypi.h
sort.h
sound.h
soundcard.h
spinlock.h
spinlock_api_smp.h
spinlock_api_up.h
spinlock_types.h
spinlock_types_up.h
spinlock_up.h
splice.h
srcu.h
rcu: Convert WARN_ON_ONCE() in rcu_lock_acquire() to lockdep
2012-02-21 09:06:09 -08:00
stackprotector.h
stacktrace.h
stallion.h
start_kernel.h
stat.h
statfs.h
static_key.h
static keys: Introduce 'struct static_key', static_key_true()/false() and static_key_slow_[inc|dec]()
2012-02-24 10:05:59 +01:00
stddef.h
stmmac.h
stop_machine.h
string.h
string_helpers.h
stringify.h
sungem_phy.h
sunserialcore.h
tty: sparc: rename drivers/tty/serial/suncore.h -> include/linux/sunserialcore.h
2012-02-10 10:44:35 -08:00
superhyway.h
suspend.h
PM / Sleep: Drop suspend_stats_update()
2012-02-17 23:36:23 +01:00
suspend_ioctls.h
svga.h
swab.h
swap.h
mm: drain percpu lru add/rotate page-vectors on cpu hot-unplug
2012-03-21 17:54:58 -07:00
swapops.h
swiotlb.h
synclink.h
sys.h
sys_soc.h
drivers/base: add bus for System-on-Chip devices
2012-02-10 11:42:25 -08:00
syscalls.h
sys_poll: fix incorrect type for 'timeout' parameter
2012-02-21 17:24:20 -08:00
syscore_ops.h
sysctl.h
sysfs.h
syslog.h
sysrq.h
sysv_fs.h
task_io_accounting.h
task_io_accounting_ops.h
taskstats.h
taskstats_kern.h
tboot.h
tc.h
tca6416_keypad.h
tcp.h
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
2012-03-01 17:57:40 -05:00
telephony.h
termios.h
textsearch.h
textsearch_fsm.h
tfrc.h
thermal.h
thermal: Rename generate_netlink_event
2012-01-23 03:15:25 -05:00
thread_info.h
threads.h
ti_wilink_st.h
tick.h
tifm.h
timb_dma.h
timb_gpio.h
time.h
timecompare.h
timer.h
timerfd.h
timeriomem-rng.h
timerqueue.h
times.h
timex.h
ntp: Access tick_length variable via ntp_tick_length()
2012-01-26 19:44:23 -08:00
tiocl.h
tipc.h
tipc_config.h
topology.h
toshiba.h
tpm.h
tpm_command.h
trace_clock.h
trace_seq.h
constify path argument of trace_seq_path()
2012-03-20 21:29:40 -04:00
tracehook.h
tracepoint.h
static keys: Introduce 'struct static_key', static_key_true()/false() and static_key_slow_[inc|dec]()
2012-02-24 10:05:59 +01:00
transport_class.h
trdevice.h
tsacct_kern.h
tty.h
TTY: provide tty_standard_install helper
2012-02-02 14:55:45 -08:00
tty_driver.h
TTY: tty_driver, document tty->ops->shutdown limitation
2012-03-08 11:38:51 -08:00
tty_flip.h
tty_ldisc.h
typecheck.h
types.h
u64_stats_sync.h
uaccess.h
ucb1400.h
udf_fs_i.h
udp.h
uinput.h
uio.h
uio_driver.h
ultrasound.h
un.h
unistd.h
unix_diag.h
usb.h
USB: dynamically allocate usb_device children pointers instead of using a fix array
2012-03-13 14:24:07 -07:00
usb_usual.h
usbdevice_fs.h
user-return-notifier.h
user.h
user_namespace.h
utime.h
uts.h
utsname.h
uuid.h
uvcvideo.h
uwb.h
v4l2-mediabus.h
v4l2-subdev.h
vermagic.h
veth.h
vfs.h
vga_switcheroo.h
vgaarb.h
vhost.h
via-core.h
via-gpio.h
via.h
via_i2c.h
video_output.h
videodev2.h
Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-media
2012-01-15 12:49:56 -08:00
virtio.h
virtio: pci: add PM notification handlers for restore, freeze, thaw, poweroff
2012-01-12 15:44:44 +10:30
virtio_9p.h
virtio_balloon.h
virtio_blk.h
virtio_config.h
virtio_console.h
virtio_ids.h
[SCSI] virtio-scsi: SCSI driver for QEMU based virtual machines
2012-02-19 09:50:20 -06:00
virtio_mmio.h
virtio_net.h
virtio_pci.h
virtio_ring.h
virtio: harsher barriers for rpmsg.
2012-01-12 15:44:42 +10:30
virtio_rng.h
virtio_scsi.h
[SCSI] virtio-scsi: SCSI driver for QEMU based virtual machines
2012-02-19 09:50:20 -06:00
vlynq.h
vm_event_item.h
vmalloc.h
vmstat.h
vt.h
vt_buffer.h
vt_kern.h
vt:tackle kbd_table
2012-03-08 10:50:35 -08:00
w1-gpio.h
wait.h
sched/wait: Add __wake_up_all_locked() API
2012-03-01 10:28:04 +01:00
wanrouter.h
watchdog.h
wimax.h
wireless.h
wl12xx.h
wm97xx.h
workqueue.h
Block: use a freezable workqueue for disk-event polling
2012-03-02 10:51:00 +01:00
writeback.h
writeback: fix typo in the writeback_control comment
2012-03-07 16:08:46 +01:00
x25.h
xattr.h
xfrm.h
xilinxfb.h
xz.h
yam.h
z2_battery.h
zconf.h
zlib.h
zorro.h
zorro_ids.h
zutil.h