On Wed, May 29, 2002 at 09:38:29PM -0300, Marcelo Tosatti wrote: > > > On Thu, 30 May 2002, Andrea Arcangeli wrote: > > > Only in 2.4.19pre8aa3: 00_get_pid-no-deadlock-and-boosted-3 > > Only in 2.4.19pre9aa1: 10_get_pid-no-deadlock-and-boosted-4 > > > > Discard the inferior attempt in pre9 and rediff (as Ihno noticed in > > practice the complexity dominates, if you fill the pid space the fix in > > mainline is useless anyways). Wonder why this much better fix isn't > > been merged instead (it is been submitted for both 2.2 and 2.4). > > This also fix a longstanding fork race present even in 2.2 that can > > lead to two tasks getting the same pid. > > Could you be more verbose in explaining the problems with the current > approach and the advantages of your patch ? see the attached email (I got no reply IIRC), I sent it to you and Linus some week ago (only for the commentary, the latest version of the patch is 10_get_pid-no-deadlock-and-boosted-4, that btw, probably it won't apply anymore cleanly against pristine pre9 mainline because I put o1 at the very top of the patch-chain, because it's the thing most likely to need updates at the moment) Andrea