From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3336 Path: news.gmane.org!not-for-mail From: Rob Landley Newsgroups: gmane.linux.lib.musl.general Subject: Re: cpuset/affinity interfaces and TSX lock elision in musl Date: Sat, 18 May 2013 23:05:17 -0500 Message-ID: <1368936317.2611.1@driftwood> References: <20130516203658.GW20323@brightrain.aerifal.cx> <1368766151.18069.252@driftwood> <20130517050126.GZ20323@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp=Yes; Format=Flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1368936333 9256 80.91.229.3 (19 May 2013 04:05:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 May 2013 04:05:33 +0000 (UTC) Cc: musl@lists.openwall.com To: musl@lists.openwall.com Original-X-From: musl-return-3340-gllmg-musl=m.gmane.org@lists.openwall.com Sun May 19 06:05:33 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1UdusH-0005KJ-1P for gllmg-musl@plane.gmane.org; Sun, 19 May 2013 06:05:33 +0200 Original-Received: (qmail 18283 invoked by uid 550); 19 May 2013 04:05:32 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 18275 invoked from network); 19 May 2013 04:05:32 -0000 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:date:from:subject:to:cc:references:in-reply-to:x-mailer :message-id:mime-version:content-type:content-disposition :content-transfer-encoding:x-gm-message-state; bh=SBo/NYdXvfR9bOpPfIxOzvhAg5pL15tzMBR3o6B+YNw=; b=MHmQLUKP0+3tQZwk2+Z0QfIA2zAEGOyZhp1xGdYd5KppAnZJXla7SE+sgi8MyHyjnJ QQkq5PZDJtT3Cj7fzddpOdInTKvzLdvPMMh5NydXIDrZV1d2tAnH5oT114M4Nxp0i3e8 q6Vo3AcBsY2BeZFNgMX5Po+ItfZs1gfN55biQX03RdOMlp2oXlcviGFfvp4l/+Ssq4CT /H5U0FdkTOFAKE3OzVp1Y1O+EcnoiaL4WziDXcbNBGWW4QGhQ+9/LyNCt9xxnTHqS2hI mEgSXcALqB49X3JLYMkoAdeEbHm8tWyD5Q9dkSVBmnL7r+BXaXgNMKG5fztDbrk3A2/+ l4Xw== X-Received: by 10.50.128.101 with SMTP id nn5mr2360777igb.82.1368936320041; Sat, 18 May 2013 21:05:20 -0700 (PDT) In-Reply-To: <20130517050126.GZ20323@brightrain.aerifal.cx> (from dalias@aerifal.cx on Fri May 17 00:01:26 2013) X-Mailer: Balsa 2.4.11 Content-Disposition: inline X-Gm-Message-State: ALoCoQkDESv5K1o7+rk/DVXwypYcqrsYveUsZjvtmk3VeaTfPXG1m2ruU6RHcq3HoHnbMwNcXWha Xref: news.gmane.org gmane.linux.lib.musl.general:3336 Archived-At: On 05/17/2013 12:01:26 AM, Rich Felker wrote: > On Thu, May 16, 2013 at 11:49:11PM -0500, Rob Landley wrote: > > On 05/16/2013 03:36:58 PM, Rich Felker wrote: > > >On Thu, May 16, 2013 at 06:37:01PM +0200, Daniel Cegie=C5=82ka wrote: > > >> 1) Are there any plans to add support for cpuset/affinity > > >interfaces? > > > > > >I sat down to do it one day, and it was so ugly I got sick and put =20 > it > > >off again. Seriously. There's a huge abundance of CPU_* > > >macros/functions for manipulating abstract bitsets, but all "cpu =20 > set" > > >specific for no good reason. > > > > > >If anyone wants to volunteer to do these, it would be a big relief =20 > to > > >me. Some caveats: > > > > Meh, the data format's trivial. It's just that the documentation is > > in an insane place, namely here: >=20 > It's also the exact same format as fd_set and sigset_t, i.e. the only > natural set implementation. What's frustrating is that we have to have > 3+ sets of interfaces that do exactly the same thing... Inside the kernel it's all the same set interface. It's just glibc that =20 decided to add layers. Rob=