aboutsummaryrefslogtreecommitdiff
path: root/lib/debugobjects.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2010-03-15 00:34:57 -0400
committerLinus Torvalds <[email protected]>2010-03-17 18:43:47 -0700
commite9e58a4ec3b1086d1ed8c915311aef1ae55454fd (patch)
treea500ec01cce13fa17f2400ac57f4ad36f4d37bca /lib/debugobjects.c
parenta3d3203e4bb40f253b1541e310dc0f9305be7c84 (diff)
memcg: avoid use cmpxchg in swap cgroup maintainance
swap_cgroup uses 2bytes data and uses cmpxchg in a new operation. 2byte cmpxchg/xchg is not available on some archs. This patch replaces cmpxchg/xchg with operations under lock. Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Reported-by: Sachin Sant <[email protected]> wrote: Acked-by: Balbir Singh <[email protected]> Acked-by: Daisuke Nishimura <[email protected]> Cc: Li Zefan <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions