lkml.org 
[lkml]   [2010]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Fix a race in pid generation that causes pids to be reused immediately.
On Mon, Jun 14, 2010 at 06:55:56PM -0700, Andrew Morton wrote:
>
> I think you're probably right, as long as one sticks with 4-byte
> scalars. The cmpxchg-is-now-generic change snuck in under the radar
> (mine, at least).

Hmmm, what about unsigned longs? (Which might be 8 bytes on some
architectures....)

- Ted


\
 
 \ /
  Last update: 2010-06-15 14:59    [W:0.107 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site