[lkml]   [2006]   [Jul]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: 2.6.18 Headers - Long
    On Sat, Jul 15, 2006 at 05:09:28PM -0400, Albert Cahalan wrote:
    > David Woodhouse writes:
    > >Kernel headers are _not_ a library of random crap for userspace to use.
    > The attraction is that the kernel abstractions are very nice.
    > Much of the POSIX API sucks ass. The kernel stuff is NOT crap.
    > Here we have a full-featured set of atomic ops, byte swapping
    > with readable names and a distinction for pointers, nice macros
    > for efficient data structure manipulation...

    These are _kernel_ headers.

    Sure, applications are abusing the kernel headers as userspace library.

    But this is wrong, that's not what they are designed for.
    Look at the code MySQL uses for including atomic.h and you understand
    what I'm saying.

    If stuff from the headers is generally considered useful for userspace,
    someone should simply start a new project containing the small subset of
    the headers containing such stuff cleaned up for userspace.



    "Is there not promise of rain?" Ling Tan asked suddenly out
    of the darkness. There had been need of rain for many days.
    "Only a promise," Lao Er said.
    Pearl S. Buck - Dragon Seed

    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: 2006-07-15 23:47    [W:0.025 / U:1.216 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site