Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 18 Jun 2002 15:47:25 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 18 Jun 2002 15:47:24 -0400 Received: from swazi.realnet.co.sz ([196.28.7.2]:23017 "HELO netfinity.realnet.co.sz") by vger.kernel.org with SMTP id ; Tue, 18 Jun 2002 15:47:23 -0400 Date: Tue, 18 Jun 2002 21:19:40 +0200 (SAST) From: Zwane Mwaikambo X-X-Sender: zwane@netfinity.realnet.co.sz To: Benjamin LaHaise Cc: Rusty Russell , Robert Love , Linux Kernel Mailing List Subject: Re: latest linus-2.5 BK broken In-Reply-To: <20020618152949.B16091@redhat.com> 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 Content-Length: 715 Lines: 25 On Tue, 18 Jun 2002, Benjamin LaHaise wrote: > > /* -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. Hmm i don't understand, mind explaining why it wouldn't work on HT? Cheers, Zwane Mwaikambo -- http://function.linuxpower.ca - 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/