Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 10 Mar 2002 17:24:02 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 10 Mar 2002 17:23:53 -0500 Received: from ns.suse.de ([213.95.15.193]:44813 "HELO Cantor.suse.de") by vger.kernel.org with SMTP id ; Sun, 10 Mar 2002 17:23:39 -0500 To: Andreas Jaeger Cc: Robert Love , torvalds@transmeta.com, linux-kernel@vger.kernel.org Subject: Re: [PATCH] syscall interface for cpu affinity In-Reply-To: <1015784104.1261.8.camel@phantasy> <1015793618.928.17.camel@phantasy> X-Yow: I just bought FLATBUSH from MICKEY MANTLE! From: Andreas Schwab Date: Sun, 10 Mar 2002 23:23:34 +0100 In-Reply-To: (Andreas Jaeger's message of "Sun, 10 Mar 2002 22:03:02 +0100") Message-ID: Lines: 22 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Andreas Jaeger writes: |> What I need at the moment is a wrapper - and you can do it two ways: |> |> $ run_with_affinity 1 program arguments... |> $ (cat 1 > /proc/self/affinity; program arguments...) |> |> The second one is much easier coded ;-) Apparently not, since that should be $ (echo 1 > /proc/self/affinity; program arguments...) :-) Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 N?rnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." - 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/