[lkml]   [2003]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: Reduce struct page by 8 bytes on 64bit
       From: Andi Kleen <>
    Date: Tue, 15 Apr 2003 13:24:30 +0200

    I worked around this by declaring a new data type atomic_bitmask32
    with matching set_bit32/clear_bit32 etc. interfaces. Currently only
    on x86-64 aomitc_bitmask32 is defined to unsigned, everybody else
    still uses unsigned long. The other 64bit architectures can define it to
    unsigned too if they can confirm that it's ok to do.

    I have no problem with this.

    If you are clever, you can define a generic version even for the
    "unsigned long" 64-bit platforms. It's left as an exercise to
    the reader :-)
    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:34    [W:0.021 / U:79.740 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site