aboutsummaryrefslogtreecommitdiff
path: root/include/linux/socket.h
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <[email protected]>2010-03-10 15:20:38 -0800
committerLinus Torvalds <[email protected]>2010-03-12 15:52:28 -0800
commit53bddb4e9f3f53df02a783751984ddeade71b085 (patch)
tree74b9dfa0b61d6455a006beb2de20310aee0bc28b /include/linux/socket.h
parent936ed49a540e2dce645da27e7e4032b24310a8e4 (diff)
nommu: fix build breakage
Commit 34e55232e59f7b19050267a05ff1226e5cd122a5 ("mm: avoid false sharing of mm_counter") added sync_mm_rss() for syncing loosely accounted rss counters. It's for CONFIG_MMU but sync_mm_rss is called even in NOMMU enviroment (kerne/exit.c, fs/exec.c). Above commit doesn't handle it well. This patch changes SPLIT_RSS_COUNTING depends on SPLIT_PTLOCKS && CONFIG_MMU And for avoid unnecessary function calls, sync_mm_rss changed to be inlined noop function in header file. Reported-by: David Howells <[email protected]> Signed-off-by: KAMEZAWA Hiroyuki <[email protected]> Signed-off-by: Mike Frysinger <[email protected]> Signed-off-by: Michal Simek <[email protected]> Signed-off-by: David Howells <[email protected]> Cc: Greg Ungerer <[email protected]> Cc: Geert Uytterhoeven <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/socket.h')
0 files changed, 0 insertions, 0 deletions