[lkml]   [2002]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: latest linus-2.5 BK broken
    On Wed, Jun 19, 2002 at 04:51:31AM +1000, Rusty Russell wrote:
    > You could do a loop here, but the real problem is the broken userspace
    > interface. Can you fix this so it takes a single CPU number please?
    > ie.
    > /* -1 = remove affinity */
    > sys_sched_setaffinity(pid_t pid, int cpu);
    > This will work everywhere, and doesn't require userspace to know the
    > size of the cpu bitmask etc.

    That doesn't work. Think of SMT CPU pairs (aka HyperThreading) or
    quads that share caches.

    "You will be reincarnated as a toad; and you will be much happier."
    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:22    [W:0.023 / U:16.656 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site