Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Nov 2001 20:53:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Nov 2001 20:53:07 -0500 Received: from [208.129.208.52] ([208.129.208.52]:50694 "EHLO xmailserver.org") by vger.kernel.org with ESMTP id ; Fri, 23 Nov 2001 20:52:54 -0500 Date: Fri, 23 Nov 2001 18:01:54 -0800 (PST) From: Davide Libenzi X-X-Sender: davide@blue1.dev.mcafeelabs.com To: Ingo Molnar cc: lkml , Subject: Re: [patch] sched_[set|get]_affinity() syscall, 2.4.15-pre9 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 23 Nov 2001, Ingo Molnar wrote: [...] Isn't it better to expose "number" cpu masks instead of "logical" ones ? Right now you set the raw cpus_allowed field that is a "logical" cpu bitmask. By using "number" maps the user can use 0..N-1 w/out having to know internal cpu mapping. - Davide - 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/