Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965880Ab0GPPk2 (ORCPT ); Fri, 16 Jul 2010 11:40:28 -0400 Received: from mail.openrapids.net ([64.15.138.104]:60591 "EHLO blackscsi.openrapids.net" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S965841Ab0GPPkT (ORCPT ); Fri, 16 Jul 2010 11:40:19 -0400 Date: Fri, 16 Jul 2010 11:40:17 -0400 From: Mathieu Desnoyers To: Andi Kleen Cc: Avi Kivity , LKML , Linus Torvalds , Andrew Morton , Ingo Molnar , Peter Zijlstra , Steven Rostedt , Steven Rostedt , Frederic Weisbecker , Thomas Gleixner , Christoph Hellwig , Li Zefan , Lai Jiangshan , Johannes Berg , Masami Hiramatsu , Arnaldo Carvalho de Melo , Tom Zanussi , KOSAKI Motohiro , akpm@osdl.org, "H. Peter Anvin" , Jeremy Fitzhardinge , "Frank Ch. Eigler" Subject: Re: [patch 2/2] x86 NMI-safe INT3 and Page Fault Message-ID: <20100716154017.GA17970@Krystal> References: <20100714154923.947138065@efficios.com> <20100714155804.252253097@efficios.com> <4C405078.20707@redhat.com> <20100716144927.GA22516@Krystal> <20100716153433.GA7338@basil.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100716153433.GA7338@basil.fritz.box> X-Editor: vi X-Info: http://www.efficios.com X-Operating-System: Linux/2.6.26-2-686 (i686) X-Uptime: 11:36:03 up 174 days, 18:12, 6 users, load average: 0.02, 0.05, 0.01 User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1080 Lines: 31 * Andi Kleen (andi@firstfloor.org) wrote: > > Well, it seems like all the kernel code calling "vmalloc_sync_all()" (which is > > much more than perf) can potentially cause large latencies, which could be > > You need to fix all other code too that walks tasks lists to avoid all those. > > % gid for_each_process | wc -l This can very well be done incrementally. And I agree, these should eventually targeted too, especially those which hold locks. We've already started hearing about tasklist lock live-locks in the past year, so I think we're pretty much at the point where it should be looked at. Thanks, Mathieu > > In fact the mm-struct walk is cheaper than a task-list walk because there > are always less than tasks. -- Mathieu Desnoyers Operating System Efficiency R&D Consultant EfficiOS Inc. http://www.efficios.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/