Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Wed, 11 Sep 2002 21:34:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Wed, 11 Sep 2002 21:34:51 -0400 Received: from packet.digeo.com ([12.110.80.53]:52142 "EHLO packet.digeo.com") by vger.kernel.org with ESMTP id ; Wed, 11 Sep 2002 21:34:50 -0400 Message-ID: <3D7FF3E7.61772A26@digeo.com> Date: Wed, 11 Sep 2002 18:54:47 -0700 From: Andrew Morton X-Mailer: Mozilla 4.79 [en] (X11; U; Linux 2.4.19-rc5 i686) X-Accept-Language: en MIME-Version: 1.0 To: Andries Brouwer CC: "Hanumanthu. H" , linux-kernel@vger.kernel.org Subject: Re: [PATCH] pid_max hang again... References: <20020911171934.GA12449@win.tue.nl> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 12 Sep 2002 01:39:32.0239 (UTC) FILETIME=[3E0C59F0:01C259FD] Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 592 Lines: 15 Andries Brouwer wrote: > > ... > Again. We have 2^30 = 10^9 pids. In reality there are fewer than 10^4 > processes. So once in 10^5 pid allocations do we make a scan over > these 10^4 processes, Inside tasklist_lock? That's pretty bad from a latency point of view. A significant number of users would take the slower common case to avoid this. - 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/