From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx172.postini.com [74.125.245.172]) by kanga.kvack.org (Postfix) with SMTP id 790E86B0092 for ; Thu, 8 Mar 2012 00:42:25 -0500 (EST) Received: from m1.gw.fujitsu.co.jp (unknown [10.0.50.71]) by fgwmail6.fujitsu.co.jp (Postfix) with ESMTP id F3C863EE0AE for ; Thu, 8 Mar 2012 14:42:23 +0900 (JST) Received: from smail (m1 [127.0.0.1]) by outgoing.m1.gw.fujitsu.co.jp (Postfix) with ESMTP id D5C1345DE5C for ; Thu, 8 Mar 2012 14:42:23 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (s1.gw.fujitsu.co.jp [10.0.50.91]) by m1.gw.fujitsu.co.jp (Postfix) with ESMTP id BBE0C45DE59 for ; Thu, 8 Mar 2012 14:42:23 +0900 (JST) Received: from s1.gw.fujitsu.co.jp (localhost.localdomain [127.0.0.1]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id AAD16E08002 for ; Thu, 8 Mar 2012 14:42:23 +0900 (JST) Received: from ml13.s.css.fujitsu.com (ml13.s.css.fujitsu.com [10.240.81.133]) by s1.gw.fujitsu.co.jp (Postfix) with ESMTP id 64F9D1DB8047 for ; Thu, 8 Mar 2012 14:42:23 +0900 (JST) Date: Thu, 8 Mar 2012 14:40:53 +0900 From: KAMEZAWA Hiroyuki Subject: Re: [patch 1/2] mm, counters: remove task argument to sync_mm_rss and __sync_task_rss_stat Message-Id: <20120308144053.16be5221.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-mm@kvack.org On Tue, 6 Mar 2012 19:21:39 -0800 (PST) David Rientjes wrote: > sync_mm_rss() can only be used for current to avoid race conditions in > iterating and clearing its per-task counters. Remove the task argument > for it and its helper function, __sync_task_rss_stat(), to avoid thinking > it can be used safely for anything other than current. > > Signed-off-by: David Rientjes Acked-by: KAMEZAWA Hiroyuki -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/ Don't email: email@kvack.org