From owner-freebsd-emulation@FreeBSD.ORG Wed May 31 18:41:34 2006 Return-Path: X-Original-To: emulation@freebsd.org Delivered-To: freebsd-emulation@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 415EA16B867; Wed, 31 May 2006 18:41:34 +0000 (UTC) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43B1943D68; Wed, 31 May 2006 18:41:32 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k4VIfV14024147; Wed, 31 May 2006 11:41:31 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k4VIfVUt024146; Wed, 31 May 2006 11:41:31 -0700 Date: Wed, 31 May 2006 11:41:31 -0700 From: Brooks Davis To: emulation@freebsd.org, rdivacky@freebsd.org Message-ID: <20060531184131.GD20044@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yudcn1FV7Hsu/q59" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new Cc: Subject: linuxolator: sched_[sg]etaffinity X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 May 2006 18:41:41 -0000 --yudcn1FV7Hsu/q59 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable This is mostly for the archives, but seeing the list of unimplemented system calls reminded me. If we do end up implementing the CPU affinity functions at some point, there are a number of landmines. In particular, there are at least three differnet APIs for them depending on the vendor. Presumably we'll want to implement what ever Red Hat does, but this is something to watch out for. The Open MPI project actually wrote a library for Linux so one binary can access all the APIs, it's rather evil. http://www.open-mpi.org/software/plpa/ -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --yudcn1FV7Hsu/q59 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFEfeNbXY6L6fI4GtQRAuleAJ9Bw5c/PeC1IhvnWFCFktcq1MWt5gCbBrbS 2QOJANAWNB3HtAa30gYEjwg= =yR76 -----END PGP SIGNATURE----- --yudcn1FV7Hsu/q59--