Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Thu, 8 Aug 2002 15:17:05 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Thu, 8 Aug 2002 15:17:05 -0400 Received: from zeus.kernel.org ([204.152.189.113]:60618 "EHLO zeus.kernel.org") by vger.kernel.org with ESMTP id ; Thu, 8 Aug 2002 15:17:04 -0400 Date: Thu, 8 Aug 2002 16:15:31 -0300 (BRT) From: Rik van Riel X-X-Sender: riel@duckman.distro.conectiva To: Hubertus Franke Cc: Andries Brouwer , Andrew Morton , , , lkml , Paul Larson , Linus Torvalds Subject: Re: [PATCH] Linux-2.5 fix/improve get_pid() In-Reply-To: Message-ID: X-spambait: aardvark@kernelnewbies.org X-spammeplease: aardvark@nl.linux.org 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: 982 Lines: 31 On Thu, 8 Aug 2002, Hubertus Franke wrote: > Which one sounds like the best one ? > > Assuming that for now we have to stick to 16-bit pid_t .... That assumption is pretty central to the debate. I don't see the standard get_pid nor the bitmap based get_pid scale to something larger than a 16-bit pid_t. If we're not sure yet whether we want to keep pid_t 16 bits it might be worth putting in an algorithm that does scale to larger numbers, if only so the switch to a larger pid_t will be more straightforward. kind regards, Rik -- http://www.linuxsymposium.org/2002/ "You're one of those condescending OLS attendants" "Here's a nickle kid. Go buy yourself a real t-shirt" http://www.surriel.com/ http://distro.conectiva.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/