Date: Tue, 25 Dec 2007 20:10:53 +0000 (GMT) From: Robert Watson <rwatson@FreeBSD.org> To: Jeff Roberson <jroberson@chesapeake.net> Cc: arch@freebsd.org Subject: Re: Linux compatible setaffinity. Message-ID: <20071225201012.S85517@fledge.watson.org> In-Reply-To: <20071219211025.T899@desktop> References: <20071219211025.T899@desktop>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 19 Dec 2007, Jeff Roberson wrote: > I have implemented a linux compatible sched_setaffinity() call which is > somewhat crippled. This allows a userspace process to supply a bitmask of > processors which it will run on. I have copied the linux interface such > that it should be api compatible because I believe it is a sensible > interface and they beat us to it by 3 years. BTW, I notice that you declare sched_getaffinity() in the user include file, but don't reserve a system call in syscalls.master or implement it. Is this intentional? Robert N M Watson Computer Laboratory University of Cambridge
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071225201012.S85517>