Revision d5b69e38f8cdb1e41cc022305c86c9739bf1ffdb authored by Hugh Dickins on 04 March 2008, 22:29:10 UTC, committed by Linus Torvalds on 05 March 2008, 00:35:15 UTC
More cleanup to memcontrol.c, this time changing some of the code generated.
Let the compiler decide what to inline (except for page_cgroup_locked which is
only used when CONFIG_DEBUG_VM): the __always_inline on lock_page_cgroup etc.
was quite a waste since bit_spin_lock etc.  are inlines in a header file; made
mem_cgroup_force_empty and mem_cgroup_write_strategy static.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
Cc: David Rientjes <rientjes@google.com>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Hirokazu Takahashi <taka@valinux.co.jp>
Cc: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Cc: Paul Menage <menage@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 8869b8f
History
File Mode Size
Kconfig -rw-r--r-- 4.4 KB
Makefile -rw-r--r-- 1.1 KB
amd76x_edac.c -rw-r--r-- 8.9 KB
cell_edac.c -rw-r--r-- 7.1 KB
e752x_edac.c -rw-r--r-- 30.9 KB
e7xxx_edac.c -rw-r--r-- 15.5 KB
edac_core.h -rw-r--r-- 26.5 KB
edac_device.c -rw-r--r-- 20.6 KB
edac_device_sysfs.c -rw-r--r-- 23.6 KB
edac_mc.c -rw-r--r-- 23.2 KB
edac_mc_sysfs.c -rw-r--r-- 25.6 KB
edac_module.c -rw-r--r-- 4.4 KB
edac_module.h -rw-r--r-- 2.9 KB
edac_pci.c -rw-r--r-- 11.5 KB
edac_pci_sysfs.c -rw-r--r-- 19.4 KB
edac_stub.c -rw-r--r-- 1.1 KB
i3000_edac.c -rw-r--r-- 13.5 KB
i5000_edac.c -rw-r--r-- 39.9 KB
i82443bxgx_edac.c -rw-r--r-- 12.4 KB
i82860_edac.c -rw-r--r-- 8.5 KB
i82875p_edac.c -rw-r--r-- 14.3 KB
i82975x_edac.c -rw-r--r-- 17.2 KB
mpc85xx_edac.c -rw-r--r-- 26.5 KB
mpc85xx_edac.h -rw-r--r-- 4.5 KB
mv64x60_edac.c -rw-r--r-- 21.5 KB
mv64x60_edac.h -rw-r--r-- 3.2 KB
pasemi_edac.c -rw-r--r-- 8.0 KB
r82600_edac.c -rw-r--r-- 11.4 KB

back to top