#ifndef BPF_EXT #define BPF_EXT #ifndef SKF_AD_OFF # define SKF_AD_OFF (-0x1000) #endif #ifndef SKF_AD_PROTOCOL # define SKF_AD_PROTOCOL 0 #endif #ifndef SKF_AD_PKTTYPE # define SKF_AD_PKTTYPE 4 #endif #ifndef SKF_AD_IFINDEX # define SKF_AD_IFINDEX 8 #endif #ifndef SKF_AD_NLATTR # define SKF_AD_NLATTR 12 #endif #ifndef SKF_AD_NLATTR_NEST # define SKF_AD_NLATTR_NEST 16 #endif #ifndef SKF_AD_MARK # define SKF_AD_MARK 20 #endif #ifndef SKF_AD_QUEUE # define SKF_AD_QUEUE 24 #endif #ifndef SKF_AD_HATYPE # define SKF_AD_HATYPE 28 #endif #ifndef SKF_AD_RXHASH # define SKF_AD_RXHASH 32 #endif #ifndef SKF_AD_CPU # define SKF_AD_CPU 36 #endif #ifndef SKF_AD_VLAN_TAG # define SKF_AD_VLAN_TAG 44 #endif #ifndef SKF_AD_VLAN_TAG_PRESENT # define SKF_AD_VLAN_TAG_PRESENT 48 #endif #ifndef SKF_AD_PAY_OFFSET # define SKF_AD_PAY_OFFSET 52 #endif #endif /* BPF_EXT */ m'>
net-next plumbingsTobias Klauser
summaryrefslogtreecommitdiff
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@gmail.com>2011-05-26 16:25:31 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-26 17:12:35 -0700
commit6a5b18d2bd79795407bf65451a2013bf4dfb588b (patch)
tree0db53d8192c1beedf1628918feb91bec93e2537f /mm/page_cgroup.c
parent33278f7f0a9e5a9b29f59e07b7e3182d27769ac2 (diff)
memcg: move page-freeing code out of lock
Move page-freeing code out of swap_cgroup_mutex in the hope that it could reduce few of theoretical contentions between swapons and/or swapoffs. This is just a cleanup, no functional changes. Signed-off-by: Namhyung Kim <namhyung@gmail.com> Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@linux.vnet.ibm.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> Cc: Michal Hocko <mhocko@suse.cz> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_cgroup.c')