[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] proc-based cpu affinity user interface

On Mon, 26 Nov 2001, Davide Libenzi wrote:

> As I said in reply to Ingo patch, it'd be better to expose "number"
> cpu masks not "logical" ( like cpus_allowed ). In this way the users
> can use 0..N-1 ( N == number of cpus phisically available ) w/out
> having to know the internal mapping between logical and number ids.

yep, agreed. I've uploaded a new set-affinity syscall patch with your
improvement added:

i've only tested it on x86 which has a 1:1 mapping between physical and
logical CPUs, but it should be fine on other architectures as well.


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:13    [W:0.111 / U:2.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site