android_kernel_xiaomi_sm8350/include/linux
KOSAKI Motohiro 31f1de46b9 mempolicy: silently restrict nodemask to allowed nodes
Kosaki Motohito noted that "numactl --interleave=all ..." failed in the
presence of memoryless nodes.  This patch attempts to fix that problem.

Some background:

numactl --interleave=all calls set_mempolicy(2) with a fully populated
[out to MAXNUMNODES] nodemask.  set_mempolicy() [in do_set_mempolicy()]
calls contextualize_policy() which requires that the nodemask be a
subset of the current task's mems_allowed; else EINVAL will be returned.

A task's mems_allowed will always be a subset of node_states[N_HIGH_MEMORY]
i.e., nodes with memory.  So, a fully populated nodemask will be
declared invalid if it includes memoryless nodes.

  NOTE:  the same thing will occur when running in a cpuset
         with restricted mem_allowed--for the same reason:
         node mask contains dis-allowed nodes.

mbind(2), on the other hand, just masks off any nodes in the nodemask
that are not included in the caller's mems_allowed.

In each case [mbind() and set_mempolicy()], mpol_check_policy() will
complain [again, resulting in EINVAL] if the nodemask contains any
memoryless nodes.  This is somewhat redundant as mpol_new() will remove
memoryless nodes for interleave policy, as will bind_zonelist()--called
by mpol_new() for BIND policy.

Proposed fix:

1) modify contextualize_policy logic to:
   a) remember whether the incoming node mask is empty.
   b) if not, restrict the nodemask to allowed nodes, as is
      currently done in-line for mbind().  This guarantees
      that the resulting mask includes only nodes with memory.

      NOTE:  this is a [benign, IMO] change in behavior for
             set_mempolicy().  Dis-allowed nodes will be
             silently ignored, rather than returning an error.

   c) fold this code into mpol_check_policy(), replace 2 calls to
      contextualize_policy() to call mpol_check_policy() directly
      and remove contextualize_policy().

2) In existing mpol_check_policy() logic, after "contextualization":
   a) MPOL_DEFAULT:  require that in coming mask "was_empty"
   b) MPOL_{BIND|INTERLEAVE}:  require that contextualized nodemask
      contains at least one node.
   c) add a case for MPOL_PREFERRED:  if in coming was not empty
      and resulting mask IS empty, user specified invalid nodes.
      Return EINVAL.
   c) remove the now redundant check for memoryless nodes

3) remove the now redundant masking of policy nodes for interleave
   policy from mpol_new().

4) Now that mpol_check_policy() contextualizes the nodemask, remove
   the in-line nodes_and() from sys_mbind().  I believe that this
   restores mbind() to the behavior before the memoryless-nodes
   patch series.  E.g., we'll no longer treat an invalid nodemask
   with MPOL_PREFERRED as local allocation.

[ Patch history:

  v1 -> v2:
   - Communicate whether or not incoming node mask was empty to
     mpol_check_policy() for better error checking.
   - As suggested by David Rientjes, remove the now unused
     cpuset_nodes_subset_current_mems_allowed() from cpuset.h

  v2 -> v3:
   - As suggested by Kosaki Motohito, fold the "contextualization"
     of policy nodemask into mpol_check_policy().  Looks a little
     cleaner. ]

Signed-off-by:  Lee Schermerhorn <lee.schermerhorn@hp.com>
Signed-off-by:  KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Tested-by:      KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by:       David Rientjes <rientjes@google.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-02-11 20:48:29 -08:00
..
amba
byteorder byteorder: move le32_add_cpu & friends from OCFS2 to core 2008-02-08 09:22:32 -08:00
can [CAN]: Add missing Kbuild entries 2008-01-28 14:54:13 -08:00
dvb
hdlc
i2c gpio: rename pca953x symbols 2008-02-06 10:41:15 -08:00
isdn
lockd NLM: Fix sign of length of NLM variable length strings 2008-02-01 16:42:02 -05:00
mfd ASIC3 driver 2008-02-07 08:42:23 -08:00
mlx4 IB/mlx4: Use multiple WQ blocks to post smaller send WQEs 2008-02-08 13:30:02 -08:00
mmc mmc: remove unused 'mode' from the mmc_host structure 2007-12-12 20:01:01 +01:00
mtd [MTD] Add mtd panic_write function pointer 2008-02-07 10:30:48 +00:00
netfilter [NETFILTER]: nf_{conntrack,nat}_pptp: annotate PPtP helper with const 2008-01-31 19:28:09 -08:00
netfilter_arp [NETFILTER]: arp_tables: netns preparation 2008-01-31 19:27:40 -08:00
netfilter_bridge
netfilter_ipv4 [NETFILTER]: x_tables: return new table from {arp,ip,ip6}t_register_table() 2008-01-31 19:27:36 -08:00
netfilter_ipv6 [NETFILTER]: ip6_tables: netns preparation 2008-01-31 19:27:39 -08:00
nfsd nfsd: Allow AIX client to read dir containing mountpoints 2008-02-01 16:42:06 -05:00
raid md: change ITERATE_RDEV_GENERIC to rdev_for_each_list, and remove ITERATE_RDEV_PENDING. 2008-02-06 10:41:19 -08:00
rtc
spi mcp23s08 spi gpio expander support 2008-02-05 09:44:13 -08:00
ssb b43: fix build with CONFIG_SSB_PCIHOST=n 2008-02-05 14:35:47 -05:00
sunrpc nfsd: clean up svc_reserve_auth() 2008-02-10 18:11:16 -05:00
tc_act [NET] tc_nat: header install 2007-12-26 19:36:35 -08:00
tc_ematch [PKT_SCHED]: vlan tag match 2008-02-05 03:20:13 -08:00
usb USB: fix codingstyle issues in include/linux/usb/ 2008-02-01 14:35:07 -08:00
8250_pci.h
a.out.h aout: suppress A.OUT library support if !CONFIG_ARCH_SUPPORTS_AOUT 2008-02-08 09:22:30 -08:00
ac97_codec.h scheduled OSS driver removal 2008-02-06 10:41:02 -08:00
acct.h system timer: fix crash in <100Hz system timer 2008-02-06 10:41:10 -08:00
acpi_pmtmr.h x86: move pmtmr related declarations 2008-01-30 13:30:18 +01:00
acpi.h Merge branches 'release' and 'fluff' into release 2008-02-07 03:38:22 -05:00
adb.h
adfs_fs_i.h
adfs_fs_sb.h
adfs_fs.h
aer.h
affs_hardblocks.h
agp_backend.h agp: add chipset flushing support to AGP interface 2008-02-05 14:33:32 +10:00
agpgart.h agp: add chipset flushing support to AGP interface 2008-02-05 14:33:32 +10:00
aio_abi.h
aio.h
amifd.h
amifdreg.h
amigaffs.h
anon_inodes.h
apm_bios.h apm_event{,info}_t are userspace types 2007-12-17 19:28:16 -08:00
apm-emulation.h
arcdevice.h
arcfb.h
async_tx.h async_tx: allow architecture specific async_tx_find_channel implementations 2008-02-06 10:12:18 -07:00
ata_platform.h sata_mv: Support SoC controllers 2008-02-06 06:54:17 -05:00
ata.h libata annotations and fixes 2008-01-23 05:24:15 -05:00
atalk.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_suni.h
atm_tcp.h
atm_zatm.h
atm.h
atmapi.h
atmarp.h
atmbr2684.h [ATM]: [br2864] whitespace cleanup 2008-01-28 15:00:14 -08:00
atmclip.h
atmdev.h [ATM]: Convert struct class_device to struct device 2008-01-28 15:00:12 -08:00
atmel_pdc.h
atmel_pwm.h Basic PWM driver for AVR32 and AT91 2008-02-08 09:22:38 -08:00
atmel_serial.h [ARM] 4660/3: at91: allow selecting UART for early kernel messages 2008-02-04 13:16:39 +00:00
atmel-ssc.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
attribute_container.h [SCSI] attribute_container: update to use the group interface 2008-01-23 11:29:17 -06:00
audit.h [AUDIT] break large execve argument logging into smaller messages 2008-02-01 14:23:55 -05:00
auto_fs4.h
auto_fs.h
auxvec.h
ax25.h
b1lli.h
b1pcmcia.h
backing-dev.h
backlight.h
baycom.h
bcd.h
bfs_fs.h
binfmts.h
bio.h
bit_spinlock.h
bitmap.h
bitops.h
bitrev.h
blkdev.h block: fixup rq_init() a bit 2008-02-08 12:41:03 +01:00
blkpg.h
blktrace_api.h Fix blktrace compile warning 2008-01-29 21:55:15 +01:00
blockgroup_lock.h
bootmem.h Introduce flags for reserve_bootmem() 2008-02-07 08:42:25 -08:00
bottom_half.h
bpqether.h
bsg.h
buffer_head.h Add buffer head related helper functions 2008-01-28 23:58:26 -05:00
bug.h
cache.h
calc64.h
can.h [CAN]: Add PF_CAN core module 2008-01-28 14:54:10 -08:00
capability.h Smack: Simplified Mandatory Access Control Kernel 2008-02-05 09:44:20 -08:00
capi.h
cciss_ioctl.h
cd1400.h
cdev.h
cdk.h
cdrom.h ide-cd: move lba_to_msf() and msf_to_lba() to <linux/cdrom.h> 2008-02-01 23:09:24 +01:00
cfag12864b.h
cgroup_subsys.h Memory controller: cgroups setup 2008-02-07 08:42:18 -08:00
cgroup.h hotplug cpu: move tasks in empty cpusets to parent 2008-02-07 08:42:22 -08:00
cgroupstats.h
chio.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
circ_buf.h
clk.h
clockchips.h
clocksource.h clocksource: add unregister function to disable unusable clocksources 2008-01-30 13:30:02 +01:00
cm4000_cs.h
cn_proc.h
coda_cache.h
coda_fs_i.h
coda_linux.h
coda_psdev.h
coda.h
coff.h
com20020.h
compat.h fs: remove dead config CONFIG_HAS_COMPAT_EPOLL_EVENT symbol 2008-02-06 10:41:03 -08:00
compiler-gcc3.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
compiler-gcc4.h x86, core: remove CONFIG_FORCED_INLINING 2008-02-09 23:24:09 +01:00
compiler-gcc.h
compiler-intel.h
compiler.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
completion.h Add wait_for_completion_killable 2007-12-06 17:40:19 -05:00
comstats.h
concap.h
configfs.h
connector.h [CONNECTOR]: Cleanup struct cn_callback_entry 2008-01-28 15:00:40 -08:00
console_struct.h
console.h
consolemap.h
const.h x86: add _AT() macro to conditionally cast 2008-01-30 13:32:42 +01:00
cpu.h cpu-hotplug: fix build on !CONFIG_SMP 2008-01-25 21:08:02 +01:00
cpufreq.h [CPUFREQ] Eliminate cpufreq_userspace scaling_setspeed deadlock 2008-02-06 22:57:58 -05:00
cpuidle.h Revert "cpuidle: build fix for non-x86" 2008-02-07 04:16:34 -05:00
cpumask.h x86: avoid build warning 2008-01-30 13:31:10 +01:00
cpuset.h mempolicy: silently restrict nodemask to allowed nodes 2008-02-11 20:48:29 -08:00
cramfs_fs_sb.h
cramfs_fs.h
crash_dump.h
crc7.h
crc16.h
crc32.h
crc32c.h
crc-ccitt.h
crc-itu-t.h
crypto.h [CRYPTO] api: Set default CRYPTO_MINALIGN to unsigned long long 2008-01-11 08:17:01 +11:00
cryptohash.h
ctype.h
cuda.h
cyclades.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
cyclomx.h
cycx_cfm.h
cycx_drv.h
cycx_x25.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
dca.h DCA: convert struct class_device to struct device. 2008-02-08 15:33:33 -08:00
dcache.h
dccp.h [DCCP]: Reorganize struct dccp_sock to save 8 bytes 2008-02-03 04:28:53 -08:00
dcookies.h
debug_locks.h softlockup: automatically detect hung TASK_UNINTERRUPTIBLE tasks 2008-01-25 21:08:02 +01:00
debugfs.h
delay.h
delayacct.h
device-mapper.h dm: table remove unused variable 2008-02-08 02:10:01 +00:00
device.h iommu sg merging: add device_dma_parameters structure 2008-02-05 09:44:10 -08:00
devpts_fs.h
dio.h
dirent.h
display.h
dlm_device.h
dlm_netlink.h
dlm.h dlm: Split lock mode and flag constants into a sharable header. 2008-01-25 14:46:04 -08:00
dlmconstants.h dlm: Split lock mode and flag constants into a sharable header. 2008-01-25 14:46:04 -08:00
dm9000.h
dm-ioctl.h dm ioctl: move compat code 2008-02-08 02:09:56 +00:00
dma-mapping.h iommu sg merging: add accessors for segment_boundary_mask in device_dma_parameters() 2008-02-05 09:44:11 -08:00
dmaengine.h async_tx: replace 'int_en' with operation preparation flags 2008-02-06 10:12:18 -07:00
dmapool.h
dmar.h intel-iommu: fault_reason index cleanup 2008-02-08 09:22:24 -08:00
dmi.h SMBIOS/DMI: add type 41 = Onboard Devices Extended Information 2008-02-08 09:22:37 -08:00
dn.h
dnotify.h
dqblk_v1.h
dqblk_v2.h
dqblk_xfs.h
ds1wm.h DS1WM: decouple host IRQ and INTR active state settings 2008-02-07 08:42:06 -08:00
ds1286.h
ds17287rtc.h
dtlk.h
edac.h
edd.h
eeprom_93cx6.h
efi.h
efs_dir.h
efs_fs_i.h
efs_fs_sb.h
efs_fs.h iget: stop EFS from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
efs_vh.h
eisa.h
elevator.h block: let elv_register() return void 2007-12-18 08:29:28 +01:00
elf-em.h mn10300: add the MN10300/AM33 architecture to the kernel 2008-02-08 09:22:30 -08:00
elf-fdpic.h
elf.h Merge branch 'for-2.6.25' of git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc 2008-02-07 09:02:26 -08:00
elfcore-compat.h
elfcore.h Unexport asm/elf.h 2008-02-07 08:42:30 -08:00
elfnote.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
enclosure.h [SCSI] enclosure: add support for enclosure services 2008-02-07 18:04:10 -06:00
err.h Add an ERR_CAST() function to complement ERR_PTR and co. 2008-02-07 08:42:25 -08:00
errno.h
errqueue.h
etherdevice.h
ethtool.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
eventfd.h
eventpoll.h
exportfs.h
ext2_fs_sb.h
ext2_fs.h fix up ext2_fs.h for userspace after reservations backport 2007-11-29 09:24:53 -08:00
ext3_fs_i.h
ext3_fs_sb.h
ext3_fs.h iget: stop EXT3 from using iget() and read_inode() 2008-02-07 08:42:27 -08:00
ext3_jbd.h
ext4_fs_extents.h ext4: Add new functions for searching extent tree 2008-01-28 23:58:27 -05:00
ext4_fs_i.h ext4: Add multi block allocator for ext4 2008-01-29 00:19:52 -05:00
ext4_fs_sb.h ext4: Add multi block allocator for ext4 2008-01-29 00:19:52 -05:00
ext4_fs.h ext4: Add new "development flag" to the ext4 filesystem 2008-02-10 01:11:44 -05:00
ext4_jbd2.h
f75375s.h hwmon: (f75375s) Allow setting up fans with platform_data 2007-11-08 08:42:46 -05:00
fadvise.h
falloc.h
fault-inject.h
fb.h
fcdevice.h
fcntl.h
fd1772.h
fd.h
fddidevice.h
fdreg.h
fib_rules.h
file.h
filter.h
firewire-cdev.h
firewire-constants.h
firmware.h
flat.h
font.h
freezer.h
fs_enet_pd.h
fs_stack.h
fs_struct.h
fs_uart_pd.h
fs.h fs/char_dev.c: chrdev_open marked static and removed from fs.h 2008-02-08 09:22:42 -08:00
fsl_devices.h
fsnotify.h inotify: send IN_ATTRIB events when link count changes 2008-02-06 10:41:05 -08:00
fuse.h fuse: pass open flags to read and write 2007-11-29 09:24:54 -08:00
futex.h futex: Add bitset conditional wait/wakeup functionality 2008-02-01 17:45:14 +01:00
gameport.h
gen_stats.h
genalloc.h
generic_acl.h
generic_serial.h
genetlink.h
genhd.h Enhanced partition statistics: remove old partition statistics 2008-02-08 12:42:01 +01:00
getcpu.h
gfp.h Page allocator: clean up pcp draining functions 2008-02-05 09:44:17 -08:00
gfs2_ondisk.h
gigaset_dev.h
gpio_keys.h
gpio_mouse.h
hardirq.h sched: remove the !PREEMPT_BKL code 2008-01-25 21:08:33 +01:00
harrier_defs.h
hash.h hash: add explicit u32 and u64 versions of hash 2008-02-06 10:41:00 -08:00
hayesesp.h Char: esp, remove hangup and wakeup bottomhalves 2008-02-07 08:42:34 -08:00
hdlc.h Generic HDLC - remove now unneeded hdlc_device_desc 2008-02-05 13:31:39 -05:00
hdlcdrv.h
hdpu_features.h
hdreg.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
hdsmart.h <linux/hdsmart.h> is not used by kernel code 2008-02-01 23:09:34 +01:00
hid-debug.h
hid.h HID: Support Samsung IR remote 2008-01-28 14:51:22 +01:00
hiddev.h
hidraw.h
highmem.h mm: fix PageUptodate data race 2008-02-05 09:44:19 -08:00
highuid.h
hil_mlc.h
hil.h
hippidevice.h
hp_sdc.h
hpet.h x86: nuke a ton of dead hpet code 2008-01-30 13:30:27 +01:00
hrtimer.h hrtimer: fix *rmtp handling in hrtimer_nanosleep() 2008-02-10 10:48:03 +01:00
htirq.h
hugetlb.h hugetlb: add locking for overcommit sysctl 2008-02-08 09:22:23 -08:00
hw_random.h HWRNG: add possibility to remove hwrng devices during suspend/resume 2008-02-05 09:44:23 -08:00
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-sgi.h
i2c-dev.h
i2c-gpio.h
i2c-id.h hwmon: Discard useless I2C driver IDs 2008-02-07 20:39:44 -05:00
i2c-ocores.h
i2c-pnx.h
i2c-pxa.h
i2c.h i2c: Add i2c_new_dummy() utility 2008-01-27 18:14:52 +01:00
i2o-dev.h
i2o.h
i8k.h
i8042.h
ibmtr.h
icmp.h
icmpv6.h
ide.h Prevent IDE boot ops on NUMA system 2008-02-11 09:20:50 -08:00
idr.h
ieee80211.h iwlwifi: Fix MIMO PS mode 2008-02-01 16:13:16 -05:00
if_addr.h
if_addrlabel.h [IPV6] ADDRCONF: Support RFC3484 configurable address selection policy table. 2008-01-28 14:53:58 -08:00
if_arcnet.h
if_arp.h [CAN]: Allocate protocol numbers for PF_CAN 2008-01-28 14:54:09 -08:00
if_bonding.h bonding: Add new layer2+3 hash for xor/802.3ad modes 2007-12-07 15:00:32 -05:00
if_bridge.h
if_cablemodem.h
if_ec.h
if_eql.h
if_ether.h [ETHER]: Bring back MAC_FMT 2008-01-28 15:08:27 -08:00
if_fc.h
if_fddi.h
if_frad.h annotate the rest of drivers/net/wan 2008-01-28 15:07:58 -08:00
if_hippi.h
if_infiniband.h
if_link.h
if_ltalk.h
if_macvlan.h
if_packet.h
if_plip.h
if_ppp.h
if_pppol2tp.h
if_pppox.h
if_slip.h
if_strip.h
if_tr.h [TR]: Use ctl paths to register net/token-ring/ table 2008-01-28 14:56:28 -08:00
if_tun.h annotate tun 2008-01-28 15:07:57 -08:00
if_tunnel.h [IPV6]: Add RFC4214 support 2008-01-28 14:55:09 -08:00
if_vlan.h [VLAN]: Constify skb argument to vlan_get_tag() 2008-02-05 16:20:22 -08:00
if_wanpipe.h
if.h [IPV6]: Add RFC4214 support 2008-01-28 14:55:09 -08:00
igmp.h
in6.h
in_route.h
in.h [IPV4]: Enable use of 240/4 address space. 2008-01-28 15:08:44 -08:00
inet_diag.h
inet_lro.h [LRO]: fix lro_gen_skb() alignment 2007-12-05 05:37:32 -08:00
inet.h
inetdevice.h [IPV4]: Make struct ipv4_devconf static. 2008-01-31 19:28:31 -08:00
init_ohci1394_dma.h x86: early boot debugging via FireWire (ohci1394_dma=early) 2008-01-30 13:34:11 +01:00
init_task.h capabilities: introduce per-process capability bounding set 2008-02-05 09:44:20 -08:00
init.h generic: add __FINITDATA 2008-02-06 22:39:45 +01:00
initrd.h
inotify.h
input-polldev.h
input.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2008-02-07 12:57:44 -08:00
interrupt.h proper show_interrupts() prototype 2008-02-06 10:41:02 -08:00
io.h
ioc3.h
ioc4.h
iocontext.h block: cfq: make the io contect sharing lockless 2008-01-28 10:50:33 +01:00
ioctl.h
iommu-helper.h iommu sg: add IOMMU helper functions for the free area management 2008-02-05 09:44:11 -08:00
ioport.h x86: remove extern declarations for code, data, bss resources 2008-01-30 13:30:32 +01:00
ioprio.h ioprio: move io priority from task_struct to io_context 2008-01-28 10:50:29 +01:00
ip6_tunnel.h
ip.h
ipc_namespace.h IPC: consolidate sem_exit_ns(), msg_exit_ns() and shm_exit_ns() 2008-02-08 09:22:26 -08:00
ipc.h namespaces: move the IPC namespace under IPC_NS option 2008-02-08 09:22:23 -08:00
ipmi_msgdefs.h
ipmi_smi.h
ipmi.h
ipsec.h
ipv6_route.h
ipv6.h [NETNS]: Tcp-v6 sockets per-net lookup. 2008-01-31 19:28:20 -08:00
ipx.h
irda.h
irq_cpustat.h
irq.h IRQ_NOPROBE helper functions 2008-02-08 09:22:42 -08:00
irqflags.h
irqreturn.h
isa.h
isapnp.h
isdn_divertif.h
isdn_ppp.h
isdn.h drivers/isdn/i4l/isdn_tty.c: remove write_sem 2008-02-06 10:41:07 -08:00
isdnif.h
isicom.h Char: char/serial, remove SERIAL_TYPE_NORMAL redefines 2008-02-07 08:42:33 -08:00
iso_fs.h
istallion.h Char: istallion, remove hangup bottomhalf 2008-02-07 08:42:34 -08:00
ivtv.h
ivtvfb.h
ixjuser.h
jbd2.h jbd2: add lockdep support 2008-01-28 23:58:27 -05:00
jbd.h jbd.h: hide kernel only code 2008-02-06 10:41:21 -08:00
jffs2.h
jhash.h
jiffies.h time: fix typo in comments 2008-02-08 09:22:29 -08:00
journal-head.h
joystick.h
kallsyms.h Missing include file in kallsyms.h 2007-11-05 15:12:32 -08:00
kbd_diacr.h
kbd_kern.h
Kbuild drop linux/ufs_fs.h from userspace export and relocate it to fs/ufs/ufs_fs.h 2008-02-08 09:22:39 -08:00
kd.h Fix <linux/kd.h> usage in userspace 2007-11-29 09:24:52 -08:00
kdebug.h
kdev_t.h
kernel_stat.h
kernel.h Add new string functions strict_strto* and convert kernel params to use them 2008-02-08 09:22:41 -08:00
kernelcapi.h
kexec.h vmcoreinfo: add "VMCOREINFO_" to all the call for vmcoreinfo_append_str() 2008-02-07 08:42:25 -08:00
key-type.h
key-ui.h
key.h KEYS: fix macro 2008-01-08 16:10:35 -08:00
keyboard.h
keyctl.h
kfifo.h
klist.h
kmalloc_sizes.h
kmod.h
kobj_map.h
kobject.h Kobject: fix coding style issues in kobject.h 2008-01-24 21:27:06 -08:00
kprobes.h kprobes: kretprobe user entry-handler 2008-02-06 10:41:11 -08:00
kref.h kref: add kref_set() 2008-01-24 20:40:05 -08:00
ks0108.h
kthread.h
ktime.h Fix compilation of powerpc asm-offsets.c with old gcc 2008-02-07 14:54:45 -08:00
kvm_host.h KVM: Move apic timer migration away from critical section 2008-01-30 18:01:22 +02:00
kvm_para.h KVM: Put kvm_para.h include outside __KERNEL__ 2008-01-30 18:01:22 +02:00
kvm_types.h KVM: Move arch dependent files to new directory arch/x86/kvm/ 2008-01-30 18:01:18 +02:00
kvm.h KVM: Portability: Move kvm_fpu to asm-x86/kvm.h 2008-01-30 18:01:22 +02:00
lapb.h
latencytop.h sched: latencytop support 2008-01-25 21:08:34 +01:00
lcd.h
leds.h leds: Add support for hardware accelerated LED flashing 2008-02-07 09:49:38 +00:00
lguest_launcher.h virtio: simplify config mechanism. 2008-02-04 23:49:57 +11:00
lguest.h
libata.h libata: kill now unused n_iter and fix sata_fsl 2008-02-06 06:59:32 -05:00
libps2.h
license.h
limits.h
linkage.h x86: add ENDPROC() markers 2008-01-30 13:33:13 +01:00
linux_logo.h
list.h
llc.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
lm_interface.h
lock_dlm_plock.h
lockdep.h
log2.h log2.h: Define order_base_2() macro for convenience. 2008-02-06 10:41:03 -08:00
loop.h Allow auto-destruction of loop devices 2008-02-06 10:41:01 -08:00
lp.h Parallel port: convert port_mutex to the mutex API 2008-02-06 10:41:01 -08:00
lzo.h
m48t86.h
magic.h
major.h
maple.h
marker.h
matroxfb.h
mbcache.h
mc6821.h
mc146818rtc.h rtc: fall back to requesting only the ports we actually use 2007-11-14 18:45:41 -08:00
mca-legacy.h
mca.h
mdio-bitbang.h
memcontrol.h memcontrol: add vm_match_cgroup() 2008-02-09 11:08:33 -08:00
memory_hotplug.h
memory.h
mempolicy.h
mempool.h
memstick.h memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00
meye.h
migrate.h
mii.h
minix_fs.h
miscdevice.h Misc: Add possibility to remove misc devices during suspend/resume 2008-02-05 09:44:23 -08:00
mm_inline.h
mm_types.h SLUB: Use unique end pointer for each slab page. 2008-02-07 17:47:41 -08:00
mm.h CONFIG_HIGHPTE vs. sub-page page tables. 2008-02-08 09:22:42 -08:00
mman.h
mmtimer.h
mmzone.h Page allocator: get rid of the list of cold pages 2008-02-05 09:44:18 -08:00
mnt_namespace.h
mod_devicetable.h sdio: fix module device table definition for m68k 2008-02-05 09:44:08 -08:00
module.h fix "modules: make module_address_lookup() safe" 2008-02-08 09:22:24 -08:00
moduleloader.h
moduleparam.h remove __attribute_used__ 2008-01-28 23:21:18 +01:00
mount.h
mpage.h
mqueue.h
mroute.h [IPV4]: Clean the ip_sockglue.c from some ugly ifdefs 2007-11-07 04:08:55 -08:00
msdos_fs.h
msg.h
msi.h
mtio.h
mutex-debug.h
mutex.h Remove fastcall from linux/include 2008-02-08 09:22:31 -08:00
mv643xx_eth.h
mv643xx_i2c.h [I2C] i2c-mv64xxx: Don't set i2c_adapter.retries 2008-01-26 15:04:01 +00:00
mv643xx.h [I2C] Split mv643xx I2C platform support 2008-01-26 15:03:59 +00:00
n_r3964.h
namei.h
nbd.h NBD: remove limit on max number of nbd devices 2008-02-08 09:22:41 -08:00
ncp_fs_i.h
ncp_fs_sb.h
ncp_fs.h
ncp_mount.h
ncp_no.h
ncp.h
neighbour.h
net.h [NET]: Remove the empty net_table 2008-01-28 14:56:29 -08:00
netdevice.h [VLAN]: set_rx_mode support for unicast address list 2008-01-31 19:28:24 -08:00
netfilter_arp.h
netfilter_bridge.h [NETFILTER]: bridge: fix missing link layer headers on outgoing routed packets 2007-12-14 13:54:39 -08:00
netfilter_decnet.h
netfilter_ipv4.h [NETFILTER]: Introduce NF_INET_ hook values 2008-01-28 14:53:55 -08:00
netfilter_ipv6.h [NETFILTER]: Introduce NF_INET_ hook values 2008-01-28 14:53:55 -08:00
netfilter.h [NETFILTER]: Extend nf_inet_addr with in{,6}_addr 2008-01-28 15:02:22 -08:00
netlink.h [IPV4] fib_trie: rescan if key is lost during dump 2008-01-31 19:28:23 -08:00
netpoll.h [NETPOLL]: Don't need rx_flags. 2008-01-28 14:54:18 -08:00
netrom.h
nfs2.h
nfs3.h
nfs4_acl.h
nfs4_mount.h
nfs4.h
nfs_fs_i.h
nfs_fs_sb.h NFS: Invoke nlmclnt_init during NFS mount processing 2008-01-30 02:06:07 -05:00
nfs_fs.h Merge branch 'task_killable' of git://git.kernel.org/pub/scm/linux/kernel/git/willy/misc 2008-02-01 11:45:47 +11:00
nfs_idmap.h
nfs_mount.h NFS: Switch from intr mount option to TASK_KILLABLE 2007-12-06 17:40:25 -05:00
nfs_page.h NFS: Clean up the write request locking. 2008-01-30 02:05:24 -05:00
nfs_xdr.h NFS: NFS version number is unsigned 2008-01-30 02:06:08 -05:00
nfs.h
nfsacl.h
nfsd_idmap.h knfsd: allow cache_register to return error on failure 2008-02-01 16:42:05 -05:00
nl80211.h cfg80211/nl80211: implement station attribute retrieval 2008-01-28 14:59:52 -08:00
nls.h
nmi.h
node.h
nodemask.h
notifier.h Hibernation: Add PM_RESTORE_PREPARE and PM_POST_RESTORE notifiers (rev. 2) 2008-02-01 18:30:53 -05:00
nsc_gpio.h
nsproxy.h
nubus.h mac68k: add nubus card definitions and a typo fix 2008-02-05 09:44:24 -08:00
numa.h
nvram.h
of_device.h [POWERPC] Add of_find_matching_node() helper function 2008-01-17 14:53:22 +11:00
of_platform.h
of.h [POWERPC] Add of_get_next_parent() 2008-02-06 16:29:59 +11:00
oom.h
oprofile.h
page-flags.h mm: fix PageUptodate data race 2008-02-05 09:44:19 -08:00
page-isolation.h
pageblock-flags.h
pagemap.h Add lock_page_killable 2007-12-06 17:35:41 -05:00
pagevec.h
param.h
parport_pc.h
parport.h
parser.h
patchkey.h
pci_hotplug.h kset: convert pci hotplug to use kset_create_and_add 2008-01-24 20:40:14 -08:00
pci_ids.h parport: add support for the Quatech SPPXP-100 Parallel port PCI ExpressCard 2008-02-06 10:41:08 -08:00
pci_regs.h Revert "PCI: PCIE ASPM support" 2008-02-02 11:32:01 -08:00
pci-acpi.h PCI ACPI: Added a function to register _OSC with only PCIe devices. 2008-02-01 15:04:29 -08:00
pci.h Change pci_raw_ops to pci_raw_read/write 2008-02-10 12:52:46 -08:00
pcieport_if.h
pcounter.h [LIB] pcounter : unline too big functions 2008-01-28 15:00:35 -08:00
pda_power.h pda_power: implement polling 2008-02-02 02:44:34 +03:00
percpu_counter.h
percpu.h PERCPU : __percpu_alloc_mask() can dynamically size percpu_data storage 2008-02-06 10:41:04 -08:00
personality.h
pfkeyv2.h [IPSEC]: Add support for aes-ctr. 2008-02-07 23:11:56 -08:00
pfn.h
pg.h
phantom.h
phonedev.h
phy_fixed.h phy/fixed.c: rework to not duplicate PHY layer functionality 2008-01-23 19:33:58 -06:00
phy.h PHYLIB: Locking fixes for PHY I/O potentially sleeping 2008-02-03 04:28:41 -08:00
pid_namespace.h namespaces: cleanup the code managed with PID_NS option 2008-02-08 09:22:23 -08:00
pid.h uglify while_each_pid_task() to make sure we don't count the execing pricess twice 2008-02-08 09:22:28 -08:00
pipe_fs_i.h
pkt_cls.h [NET_SCHED]: cls_flow: support classification based on VLAN tag 2008-02-05 16:21:04 -08:00
pkt_sched.h [NET_SCHED]: sch_sfq: make internal queues visible as classes 2008-01-31 19:28:35 -08:00
pktcdvd.h pktcdvd: Convert from class_device to device for block/pktcdvd 2008-01-24 20:40:06 -08:00
platform_device.h Driver Core: constify the name passed to platform_device_register_simple 2008-01-24 20:40:43 -08:00
plist.h
pm_legacy.h PM: ACPI and APM must not be enabled at the same time 2008-01-11 12:26:47 -05:00
pm_qos_params.h pm qos infrastructure and interface 2008-02-05 09:44:22 -08:00
pm.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
pmu.h [POWERPC] Fix for via-pmu based backlight control 2007-12-21 22:14:07 +11:00
pnp.h isapnp driver semaphore to mutex 2008-02-06 10:41:20 -08:00
pnpbios.h
poison.h
poll.h
posix_acl_xattr.h
posix_acl.h
posix_types.h
posix-timers.h
power_supply.h ACPI: battery: add sysfs serial number 2008-02-05 21:15:50 -05:00
ppdev.h
ppp_channel.h
ppp_defs.h
ppp-comp.h
prctl.h capabilities: introduce per-process capability bounding set 2008-02-05 09:44:20 -08:00
preempt.h Remove fastcall from linux/include 2008-02-08 09:22:31 -08:00
prefetch.h
prio_heap.h
prio_tree.h
proc_fs.h proc: fix ->open'less usage due to ->proc_fops flip 2008-02-08 09:22:24 -08:00
profile.h
proportions.h
ps2esdi.h
ptrace.h kill PT_ATTACHED 2008-02-08 09:22:26 -08:00
qnx4_fs.h iget: stop QNX4 from using iget() and read_inode() 2008-02-07 08:42:28 -08:00
qnxtypes.h
quicklist.h quicklists: do not release off node pages early 2007-12-23 12:54:36 -08:00
quota.h
quotaio_v1.h
quotaio_v2.h
quotaops.h
radeonfb.h
radix-tree.h radix_tree.h trivial comment correction 2008-02-03 16:12:47 +02:00
raid_class.h
ramfs.h
random.h
raw.h
rbtree.h
rcuclassic.h Preempt-RCU: implementation 2008-01-25 21:08:24 +01:00
rcupdate.h Remove rcu_assign_pointer() penalty for NULL pointers 2008-02-06 10:41:06 -08:00
rcupreempt_trace.h Preempt-RCU: implementation 2008-01-25 21:08:24 +01:00
rcupreempt.h preemptible RCU: sparse annotations 2008-02-08 09:22:42 -08:00
reboot.h make kernel_shutdown_prepare() static 2008-02-05 09:44:22 -08:00
reciprocal_div.h
regset.h x86: user_regset user-copy helpers 2008-01-30 13:31:47 +01:00
reiserfs_acl.h
reiserfs_fs_i.h
reiserfs_fs_sb.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
reiserfs_fs.h use __u32 in linux/reiserfs_fs.h 2008-02-08 09:22:41 -08:00
reiserfs_xattr.h
relay.h
res_counter.h Memory controller improve user interface 2008-02-07 08:42:18 -08:00
resource.h
resume-trace.h
rfkill.h rfkill: add the WiMAX radio type 2008-01-31 19:26:46 -08:00
rio_drv.h
rio_ids.h
rio_regs.h
rio.h
rmap.h Memory controller: make page_referenced() cgroup aware 2008-02-07 08:42:19 -08:00
romfs_fs.h
root_dev.h
rose.h
route.h
rslib.h
rtc-v3020.h
rtc.h RTC: convert mutex to bitfield 2007-11-29 09:24:54 -08:00
rtmutex.h
rtnetlink.h [NET] rtnetlink.c: remove no longer used functions 2008-02-05 03:17:22 -08:00
rwsem-spinlock.h
rwsem.h
rxrpc.h
sc26198.h
scatterlist.h SG: work with the SCSI fixed maximum allocations. 2008-01-28 10:54:49 +01:00
scc.h
sched.h Get rid of the kill_pgrp_info() function 2008-02-08 09:22:29 -08:00
screen_info.h x86_64 EFI boot support: EFI frame buffer driver 2007-11-29 09:24:54 -08:00
sctp.h [SCTP]: Stop claiming that this is a "reference implementation" 2008-02-05 10:59:07 -05:00
scx200_gpio.h
scx200.h
sdla.h
seccomp.h
securebits.h
security.h capabilities: introduce per-process capability bounding set 2008-02-05 09:44:20 -08:00
selection.h
selinux_netlink.h
selinux.h SELinux: Enable dynamic enable/disable of the network access checks 2008-01-30 08:17:26 +11:00
sem.h
seq_file.h [NET]: Consolidate net namespace related proc files creation. 2008-01-28 14:54:28 -08:00
seqlock.h
serial167.h Char: serial167, remove bottomhalf 2008-02-07 08:42:34 -08:00
serial_8250.h 8250.c: support specifying DW APB UARTs in device platform_data 2008-02-05 09:44:09 -08:00
serial_core.h mn10300: allocate serial port UART IDs for on-chip serial ports 2008-02-08 09:22:30 -08:00
serial_pnx8xxx.h
serial_reg.h
serial.h
serialP.h
serio.h
shm.h Unexport asm/page.h 2008-02-07 08:42:30 -08:00
shmem_fs.h mount options: fix tmpfs 2008-02-08 09:22:41 -08:00
signal.h fix group stop with exit race 2008-02-08 09:22:27 -08:00
signalfd.h Fix a small number of "memeber" typoes. 2008-02-03 15:12:15 +02:00
skbuff.h virtio: Implement skb_partial_csum_set, for setting partial csums on untrusted packets. 2008-02-04 23:49:56 +11:00
slab_def.h Unify /proc/slabinfo configuration 2008-01-02 13:04:48 -08:00
slab.h Unify /proc/slabinfo configuration 2008-01-02 13:04:48 -08:00
slob_def.h
slub_def.h SLUB: Support for performance statistics 2008-02-07 17:47:41 -08:00
sm501-regs.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
sm501.h sm501fb: control panel pin usage with platform data flags 2008-02-06 10:41:16 -08:00
smb_fs_i.h
smb_fs_sb.h
smb_fs.h
smb_mount.h
smb.h
smbno.h
smp_lock.h sched: remove the !PREEMPT_BKL code 2008-01-25 21:08:33 +01:00
smp.h x86: optimize lock prefix switching to run less frequently 2008-01-30 13:33:17 +01:00
snmp.h [XFRM]: Fix statistics. 2008-01-31 19:28:30 -08:00
socket.h [NET] sysctl: make sysctl_somaxconn per-namespace 2008-01-28 14:56:57 -08:00
sockios.h
som.h
sonet.h
sony-laptop.h
sonypi.h sony-laptop: add Type4 model 2008-01-24 00:47:27 -05:00
sort.h
sound.h
soundcard.h
spinlock_api_smp.h
spinlock_api_up.h include/linux/: Spelling fixes 2008-02-03 17:45:46 +02:00
spinlock_types_up.h
spinlock_types.h spinlock: lockbreak cleanup 2008-01-30 13:31:20 +01:00
spinlock_up.h spinlock: lockbreak cleanup 2008-01-30 13:31:20 +01:00
spinlock.h Remove fastcall from linux/include 2008-02-08 09:22:31 -08:00
splice.h [SPLICE]: Don't assume regular pages in splice_to_pipe() 2008-01-28 14:53:30 -08:00
srcu.h
stacktrace.h sched: latencytop support 2008-01-25 21:08:34 +01:00
stallion.h Char: stallion, remove bottomhalf 2008-02-07 08:42:34 -08:00
start_kernel.h
stat.h
statfs.h
stddef.h
stop_machine.h
string.h
stringify.h
superhyway.h
suspend_ioctls.h Hibernation: Introduce exportable suspend ioctls header (rev. 2) 2008-02-01 18:30:53 -05:00
suspend.h Page allocator: clean up pcp draining functions 2008-02-05 09:44:17 -08:00
svga.h
swap.h Memory controller: make charging gfp mask aware 2008-02-07 08:42:19 -08:00
swapops.h Fix compile error on nommu for is_swap_pte 2008-02-09 11:08:33 -08:00
synclink.h
sys.h
syscalls.h timerfd: new timerfd API 2008-02-05 09:44:07 -08:00
sysctl.h capabilities: introduce per-process capability bounding set 2008-02-05 09:44:20 -08:00
sysdev.h Driver core: change sysdev classes to use dynamic kobject names 2008-01-24 20:40:40 -08:00
sysfs.h [SCSI] sysfs: add filter function to groups 2008-01-23 11:29:18 -06:00
sysrq.h
sysv_fs.h
task_io_accounting_ops.h
task_io_accounting.h
taskstats_kern.h
taskstats.h
tc.h
tcp.h [TCP]: Rewrite SACK block processing & sack_recv_cache use 2008-01-28 14:54:07 -08:00
telephony.h
termios.h
textsearch_fsm.h
textsearch.h
tfrc.h
thermal.h ACPI: thermal: buildfix for CONFIG_THERMAL=n 2008-02-09 04:01:48 -05:00
thread_info.h futex: Add bitset conditional wait/wakeup functionality 2008-02-01 17:45:14 +01:00
threads.h
tick.h tick-sched: add more debug information 2008-02-01 17:45:14 +01:00
tifm.h memstick: initial commit for Sony MemoryStick support 2008-02-09 11:08:34 -08:00
time.h timekeeping: rename timekeeping_is_continuous to timekeeping_valid_for_hres 2008-02-08 09:22:29 -08:00
timer.h workqueue: make delayed_work_timer_fn() static 2008-02-08 09:22:37 -08:00
timerfd.h
times.h
timex.h ntp: correct inconsistent interval/tick_length usage 2008-02-10 10:48:03 +01:00
tiocl.h
tipc_config.h
tipc.h
topology.h sched: whitespace cleanups in topology.h 2008-01-25 21:08:20 +01:00
toshiba.h
transport_class.h
trdevice.h
tsacct_kern.h
tty_driver.h
tty_flip.h
tty_ldisc.h
tty.h tty: Kill TTY_FLIPBUF_SIZE 2008-02-07 08:42:16 -08:00
types.h Remove __STRICT_ANSI__ from linux/types.h 2008-02-08 09:22:39 -08:00
uaccess.h
udf_fs_i.h
udf_fs_sb.h udf: remove some ugly macros 2008-02-08 09:22:34 -08:00
udf_fs.h kill UDFFS_{DATE,VERSION} 2008-02-08 09:22:36 -08:00
udp.h
uinput.h
uio_driver.h UIO: fix kobject usage 2008-01-24 20:40:26 -08:00
uio.h
ultrasound.h
un.h
unistd.h
unwind.h
usb_usual.h USB: usb-storage: new "lockable" subclass 0x07 2008-02-01 14:34:49 -08:00
usb.h USB: fix codingstyle issues in include/linux/usb.h 2008-02-01 14:35:07 -08:00
usbdevice_fs.h USB: usbdevfs_urb: __user annotation 2008-02-01 14:34:58 -08:00
user_namespace.h
user.h
utime.h
uts.h
utsname.h namespaces: move the UTS namespace under UTS_NS option 2008-02-08 09:22:23 -08:00
vermagic.h
veth.h [VETH]: move veth.h to include/linux 2007-12-26 19:36:35 -08:00
vfs.h
via.h
video_decoder.h
video_encoder.h
video_output.h
videodev2.h
videodev.h
videotext.h
virtio_9p.h
virtio_balloon.h virtio: balloon driver 2008-02-04 23:50:13 +11:00
virtio_blk.h virtio: remove unused id field from struct virtio_blk_outhdr 2008-02-04 23:50:01 +11:00
virtio_config.h virtio: reset function 2008-02-04 23:50:03 +11:00
virtio_console.h
virtio_net.h virtio: Tweak virtio_net defines 2008-02-04 23:50:02 +11:00
virtio_pci.h virtio: Use PCI revision field to indicate virtio PCI ABI version 2008-02-04 23:50:12 +11:00
virtio_ring.h virtio: clarify NO_NOTIFY flag usage 2008-02-04 23:50:00 +11:00
virtio.h virtio: reset function 2008-02-04 23:50:03 +11:00
vmalloc.h vmalloc: add const to void* parameters 2008-02-05 09:44:14 -08:00
vmstat.h
vt_buffer.h
vt_kern.h proper prototype for vty_init() 2008-02-06 10:41:03 -08:00
vt.h
w1-gpio.h w1-gpio: add GPIO w1 bus master driver 2008-02-06 10:41:15 -08:00
wait.h lockdep: annotate epoll 2008-02-05 09:44:07 -08:00
wanrouter.h
watchdog.h
wireless.h Spelling fixes: lenght->length 2008-02-03 15:42:53 +02:00
workqueue.h lockdep: fix workqueue creation API lockdep interaction 2008-01-16 09:51:58 +01:00
writeback.h writeback: speed up writeback of big dirty files 2008-02-05 09:44:19 -08:00
x25.h
xattr.h VFS/Security: Rework inode_getsecurity and callers to return resulting buffer 2008-02-05 09:44:20 -08:00
xfrm.h [IPSEC]: Add support for combined mode algorithms 2008-01-31 19:27:03 -08:00
xilinxfb.h
yam.h
zconf.h
zlib.h
zorro_ids.h
zorro.h
zutil.h