lkml.org 
[lkml]   [2004]   [Jun]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] cpumask 5/10 rewrite cpumask.h - single bitmap based implementation
    Andrew wrote:
    > In that case the cpumask code should provide some API function which
    > converts a cpumask_t into (and from?) some canonical and documented form.
    > Then you copy what it gave you to userspace.

    Exactly. I said something similar in my earlier reply.
    But not the same. Andrew nailed it.

    And the bitmap code should provide that conversion code,
    since cpumask is just (soon, I hope ;) a thin layer on
    bitmap.

    And there might be bitop or byteorder arch specific code
    beneath that.

    --
    I won't rest till it's the best ...
    Programmer, Linux Scalability
    Paul Jackson <pj@sgi.com> 1.650.933.1373
    -
    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:03    [W:0.077 / U:89.496 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site