[lkml]   [2002]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: cmpxchg in 2.5.38
       From: Ingo Molnar <>
    Date: Wed, 25 Sep 2002 10:26:34 +0200 (CEST)

    It's only this place in the code that ever modifies that word, and
    that happens only once during the lifetime of this address, so i'll rather
    add a spinlock to the generic PID allocator code, it's a very very rare

    You can't define a crippled primitive like this Ingo.

    What if someone else starts to use it?

    And more importantly, if you can't use it on a datum shared between
    userspace and the kernel, you have to name it something other than
    cmpxchg or make the DRM use something else.
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:29    [W:0.018 / U:3.284 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site