[lkml]   [2010]   [Mar]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subjectsync_mm_rss() issues

There are a couple of issues with sync_mm_rss(), as added by patch:

commit 34e55232e59f7b19050267a05ff1226e5cd122a5
Author: KAMEZAWA Hiroyuki <>
Date: Fri Mar 5 13:41:40 2010 -0800
Subject: mm: avoid false sharing of mm_counter

(1) You haven't implemented it for NOMMU mode. What's the right way to do
this? Just give an empty function?

(2) linux/mm.h should carry the empty function as an inline when
CONFIG_SPLIT_RSS_COUNTING=n, rather than it being defined as an empty
function in mm/memory.c.


 \ /
  Last update: 2010-03-08 15:03    [W:0.057 / U:0.868 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site