Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 18 Sep 2002 14:28:53 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 18 Sep 2002 14:28:53 -0400 Received: from neon-gw-l3.transmeta.com ([63.209.4.196]:20487 "EHLO neon-gw.transmeta.com") by vger.kernel.org with ESMTP id ; Wed, 18 Sep 2002 14:28:52 -0400 Date: Wed, 18 Sep 2002 11:33:44 -0700 (PDT) From: Linus Torvalds To: Ingo Molnar cc: "Martin J. Bligh" , Cort Dougan , Rik van Riel , Andries Brouwer , William Lee Irwin III , Subject: Re: [patch] lockless, scalable get_pid(), for_each_process() elimination, 2.5.35-BK In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 706 Lines: 19 On Wed, 18 Sep 2002, Ingo Molnar wrote: > > Eliminating for_each_task loops (the ones completely unrelated to > the get_pid() issue) is an improvement even for desktop setups, which have > at most 1000 processes running. If you really really want to do this, then at least get it integrated better (ie it should _replace_ pidhash since it appears to just duplicate the functionality), and get the locking right. Maybe that will make it look better. Linus - 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/