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
aoe.txt -rw-r--r-- 4.5 KB
autoload.sh -rw-r--r-- 339 bytes
mkdevs.sh -rw-r--r-- 841 bytes
mkshelf.sh -rw-r--r-- 610 bytes
status.sh -rw-r--r-- 619 bytes
todo.txt -rw-r--r-- 787 bytes
udev-install.sh -rw-r--r-- 852 bytes
udev.txt -rw-r--r-- 1.1 KB

back to top