lkml.org 
[lkml]   [2004]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [profile]: [21/23] use atomic_t for prof_buffer
    On Tue, 22 Jun 2004 13:16:54 -0700
    William Lee Irwin III <wli@holomorphy.com> wrote:

    > On Tue, 22 Jun 2004 08:17:55 -0700 William Lee Irwin III <wli@holomorphy.com> wrote:
    > >> Convert prof_buffer to an array of atomic_t's.
    >
    > On Tue, Jun 22, 2004 at 01:01:16PM -0700, David S. Miller wrote:
    > > Part of a data type exported to userspace, is it not?
    > > Thus, is it really valid to change it like this?
    >
    > They're copied raw to userspace now and casted to atomic_t for all
    > modifications except for sparc32, arm, h8300, m68k, and m68knommu,
    > where it's still equivalent (the atomic operations just do normal
    > arithmetic under hashed locks or with ll/sc or other easily zennable
    > asm), so there is no change. Or did I miss an arch?

    That sets my mind at ease, looks good.
    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 14:04    [W:0.022 / U:60.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site