OpenCloudOS-Kernel/drivers/pci/hotplug
Theodore Ts'o 8e18e2941c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private
The following patches reduce the size of the VFS inode structure by 28 bytes
on a UP x86.  (It would be more on an x86_64 system).  This is a 10% reduction
in the inode size on a UP kernel that is configured in a production mode
(i.e., with no spinlock or other debugging functions enabled; if you want to
save memory taken up by in-core inodes, the first thing you should do is
disable the debugging options; they are responsible for a huge amount of bloat
in the VFS inode structure).

This patch:

The filesystem or device-specific pointer in the inode is inside a union,
which is pretty pointless given that all 30+ users of this field have been
using the void pointer.  Get rid of the union and rename it to i_private, with
a comment to explain who is allowed to use the void pointer.  This is just a
cleanup, but it allows us to reuse the union 'u' for something something where
the union will actually be used.

[judith@osdl.org: powerpc build fix]
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Judith Lebzelter <judith@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-27 08:26:17 -07:00
..
Kconfig Merge trivial low-risk suspend hotkey bugzilla-5918 into release 2006-08-20 21:49:29 -04:00
Makefile ACPIPHP: use ACPI dock driver 2006-06-28 03:08:06 -04:00
acpi_pcihp.c [PATCH] acpi_pcihp: Add support for _HPX 2006-06-19 14:13:22 -07:00
acpiphp.h acpiphp: add support for ioapic hot-remove 2006-09-26 17:43:54 -07:00
acpiphp_core.c PCI Hotplug: add acpiphp to MAINTAINERS 2006-08-03 13:20:06 -07:00
acpiphp_glue.c acpiphp: add support for ioapic hot-remove 2006-09-26 17:43:54 -07:00
acpiphp_ibm.c sysfs_remove_bin_file: no return value, dump_stack on error 2006-09-25 21:08:39 -07:00
cpci_hotplug.h [PATCH] PCI Hotplug: CPCI update 2005-05-17 14:31:11 -07:00
cpci_hotplug_core.c [PATCH] irq-flags: pci: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
cpci_hotplug_pci.c [PATCH] CPCI hotplug: fix resource assignment 2006-08-26 13:05:52 -07:00
cpcihp_generic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpcihp_zt5550.c [PATCH] irq-flags: pci: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
cpcihp_zt5550.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpqphp_core.c [PATCH] irq-flags: pci: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
cpqphp_ctrl.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpqphp_nvram.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpqphp_nvram.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cpqphp_pci.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
cpqphp_sysfs.c [PATCH] inode_diet: Replace inode.u.generic_ip with inode.i_private 2006-09-27 08:26:17 -07:00
fakephp.c PCI: fix __must_check warnings 2006-09-26 17:43:53 -07:00
ibmphp.h [PATCH] ibmphp: remove TRUE and FALSE 2006-03-23 14:35:17 -08:00
ibmphp_core.c [PATCH] PCI Hotplug: fake NULL pointer dereferences in IBM Hot Plug Controller Driver 2006-06-19 14:13:24 -07:00
ibmphp_ebda.c [PATCH] ibmphp: remove TRUE and FALSE 2006-03-23 14:35:17 -08:00
ibmphp_hpc.c [PATCH] ibmphp: remove TRUE and FALSE 2006-03-23 14:35:17 -08:00
ibmphp_pci.c [PATCH] ibmphp: remove TRUE and FALSE 2006-03-23 14:35:17 -08:00
ibmphp_res.c [PATCH] ibmphp: remove TRUE and FALSE 2006-03-23 14:35:17 -08:00
pci_hotplug.h PCI Hotplug: fix __must_check warnings 2006-09-26 17:43:53 -07:00
pci_hotplug_core.c PCI Hotplug: fix __must_check warnings 2006-09-26 17:43:53 -07:00
pciehp.h pciehp: make pciehp build for powerpc 2006-08-11 14:06:05 -07:00
pciehp_core.c [PATCH] pciehp: Implement get_address callback 2006-06-19 14:13:23 -07:00
pciehp_ctrl.c pciehp - fix wrong return value 2006-09-26 17:43:54 -07:00
pciehp_hpc.c pciehp: make pciehp build for powerpc 2006-08-11 14:06:05 -07:00
pciehp_pci.c [PATCH] pciehp: Add missing pci_dev_put 2006-06-19 14:13:23 -07:00
pcihp_skeleton.c PCI Hotplug: cleanup pcihp skeleton code. 2006-09-26 17:43:53 -07:00
rpadlpar.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
rpadlpar_core.c [PATCH] sem2mutex: misc static one-file mutexes 2006-03-26 08:56:55 -08:00
rpadlpar_sysfs.c [PATCH] PCI Hotplug: Fix buffer overrun in rpadlpar_sysfs.c 2005-09-22 07:58:25 -07:00
rpaphp.h [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
rpaphp_core.c [POWERPC] pseries: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
rpaphp_pci.c [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
rpaphp_slot.c [PATCH] PCI: kzalloc() conversion in drivers/pci 2006-03-23 14:35:17 -08:00
sgi_hotplug.c [PATCH] SGI Hotplug: Incorrect power status 2006-06-19 14:13:23 -07:00
shpchp.h SHPCHP: fix __must_check warnings 2006-09-26 17:43:53 -07:00
shpchp_core.c SHPCHP: fix __must_check warnings 2006-09-26 17:43:53 -07:00
shpchp_ctrl.c [PATCH] shpchp: Cleanup improper info messages 2006-06-19 14:13:24 -07:00
shpchp_hpc.c [PATCH] irq-flags: pci: Use the new IRQF_ constants 2006-07-02 13:58:52 -07:00
shpchp_pci.c [PATCH] acpi_pcihp: Add support for _HPX 2006-06-19 14:13:22 -07:00
shpchp_sysfs.c SHPCHP: fix __must_check warnings 2006-09-26 17:43:53 -07:00