aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorKOSAKI Motohiro <[email protected]>2008-05-12 14:02:31 -0700
committerLinus Torvalds <[email protected]>2008-05-13 08:02:25 -0700
commit4cd1a8fc3d3cd740416b14ece2693dbb5d065eaf (patch)
tree2acebe40e15b91a3df78ea5b677a84c509a30ae0 /include/linux/debugobjects.h
parentc9bfcb3151040cff6714542d1da04ccd7e2d3efc (diff)
memcg: fix possible panic when CONFIG_MM_OWNER=y
When mm destruction happens, we should pass mm_update_next_owner() the old mm. But unfortunately new mm is passed in exec_mmap(). Thus, kernel panic is possible when a multi-threaded process uses exec(). Also, the owner member comment description is wrong. mm->owner does not necessarily point to the thread group leader. [[email protected]: coding-style fixes] Signed-off-by: KOSAKI Motohiro <[email protected]> Acked-by: Balbir Singh <[email protected]> Cc: "Paul Menage" <[email protected]> Cc: "KAMEZAWA Hiroyuki" <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions