From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Sat, 6 Nov 2004 04:23:55 -0800 From: William Lee Irwin III Subject: Re: removing mm->rss and mm->anon_rss from kernel? Message-ID: <20041106122355.GF2890@holomorphy.com> References: <1099622957.29587.101.camel@gaston> <418C55A7.9030100@yahoo.com.au> <418CA535.1030703@yahoo.com.au> <20041106103103.GC2890@holomorphy.com> <418CAA44.3090007@yahoo.com.au> <20041106105314.GD2890@holomorphy.com> <418CB06F.1080405@yahoo.com.au> <20041106120624.GE2890@holomorphy.com> <418CBED7.6050609@yahoo.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <418CBED7.6050609@yahoo.com.au> Sender: owner-linux-mm@kvack.org Return-Path: To: Nick Piggin Cc: Christoph Lameter , Benjamin Herrenschmidt , Hugh Dickins , linux-mm@kvack.org, linux-ia64@kernel.vger.org List-ID: William Lee Irwin III wrote: >> There is no conflict. The sums are invariant under overflows. On Sat, Nov 06, 2004 at 11:08:55PM +1100, Nick Piggin wrote: > If they're not racy. Only one race matters: contributions to accounting. Reporting is inherently racy without stop-the-world -style locking. But the contributions to accounting are irrelevant: shared counter partitions must be updated atomically, fully-cpu-private partitions can't race with each other. So we are done. -- wli -- 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/ . Don't email: aart@kvack.org