From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Tue, 27 Nov 2007 16:15:44 -0800 (PST) From: Christoph Lameter Subject: Re: [PATCH 1/1] mm: Prevent dereferencing non-allocated per_cpu variables In-Reply-To: <20071127234821.GC31491@one.firstfloor.org> Message-ID: References: <20071127215052.090968000@sgi.com> <20071127215054.660250000@sgi.com> <20071127221628.GG24223@one.firstfloor.org> <20071127151241.038c146d.akpm@linux-foundation.org> <20071127152122.1d5fbce3.akpm@linux-foundation.org> <20071127154213.11970e63.akpm@linux-foundation.org> <20071127234821.GC31491@one.firstfloor.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-linux-mm@kvack.org Return-Path: To: Andi Kleen Cc: Andrew Morton , travis@sgi.com, ak@suse.de, pageexec@freemail.hu, linux-mm@kvack.org, linux-kernel@vger.kernel.org List-ID: On Wed, 28 Nov 2007, Andi Kleen wrote: > It was demonstrated useful for some specific cases, like context switch early > fetch on IA64. But I agree the prefetch on each list_for_each() is probably > a bad idea and should be removed. Will also help code size. Looks like sum_vm_events() is only ever called from all_vm_events(). Callers of all_vm_events(): App monitoring? arch/s390/appldata/appldata_mem.c: all_vm_events(ev); Leds: drivers/parisc/led.c: all_vm_events(events); proc out put for /proc/vmstat: mm/vmstat.c: all_vm_events(e); All of that does not seem to be performance critical -- 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: email@kvack.org