X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0FF7385E033
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1584955923;
	bh=apk93KIDRzRvVIWI/J3YNLwNe1AS7sC6HgkAs+pFkWQ=;
	h=Date:From:To:Subject:References:In-Reply-To:List-Id:
	 List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
	 Reply-To:From;
	b=IffVNIlMdXnw6HMFOk6G4M6NsMg196axJQ5jpXwoSVh8TJ8tPpnnzdJp0xCYL7toJ
	 vU1ZgKCk78bbvduwIEF+CA7e8WNpBvOVZi0F0QbMIwCHbCM0om0P2oQnctj983IufP
	 Bl2NStWyF6jHUy1r9zOBNKywrB74DnwmKPKGzGmo=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5E1EF385E01D
Authentication-Results: sourceware.org;
 dmarc=none (p=none dis=none) header.from=cygwin.com
Authentication-Results: sourceware.org;
 spf=fail smtp.mailfrom=corinna-cygwin AT cygwin DOT com
Date: Mon, 23 Mar 2020 10:31:58 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Why is taskset still not in util-linux?
Message-ID: <20200323093158.GA3261@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1348011a-261a-2a87-d361-4e51fa8dc19f AT cs DOT umass DOT edu>
 <85ae12aa-6cc3-5d4c-5df2-25bf811ec6a9 AT maxrnd DOT com>
 <72fea68a-b3d7-e87c-726f-8a5a2587a992 AT maxrnd DOT com>
 <01e3d337-e5fe-f393-7634-3f1881bca315 AT cs DOT umass DOT edu>
 <dca24f26-9da9-591c-19c1-8020e5de3a4e AT maxrnd DOT com>
 <79d7afa5-a07b-04df-c259-b76c61390f8c AT maxrnd DOT com>
 <92157259-166d-a85d-2db7-a8e30c75ec09 AT cs DOT umass DOT edu>
 <99d74893-f9f8-4d8d-a400-dfe247660bf0 AT maxrnd DOT com>
 <ad8159c0-db0d-2501-fe22-c295833725bc AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
In-Reply-To: <ad8159c0-db0d-2501-fe22-c295833725bc@SystematicSw.ab.ca>
X-Provags-ID: V03:K1:5of+Yo24jF6qwZmuEcUwGnADfTyfytN6/J/bV0T8DyR13Nlqsmn
 e4SqFLvX6IEAXBpW9jrWpxpOX/ta2pX3WyydvN7x8Gh5y1vQwKbJeQxAl1S3cWLav/d2z6z
 6hUC9QUbfPFPe0hJrSDPfBOLw464NKRdFTP0HiDLD6V4hk33awdEVGhhEgsUumNg5dGlT4d
 M721gPnETlnGEqEaz3oig==
X-UI-Out-Filterresults: notjunk:1;V03:K0:32SykfAy7G0=:H4LinpzvBxzfVSVi0fbVYD
 J2BeJBaBrq0QGTnkoptpdU2SN0SdH66Qdka3igzfD7jvesGp4svrADYI+NhvDjBo6oJvXzRec
 pn/yyIMkYVE44UfXB+PEerrc9huJ25xIIRbitJuoWULyhYTyoIfGTQ/IuPxAMQH16AYqcXVhE
 0tENPSl5Tj3ZQCik25ehMPuI9K9X+ly8k/A767kBR7+LkdRt71jXsudiPL85dYrNNdDeznsGr
 ZQ+JZhH8fx4O3r8eLWQHCtjEqW0M/Ev3eanvMubCtuJL3DgjerraA3WYogkgRkr/GBwfYVE5y
 7++Tyj3EaKigVBEyYoRrZrWdxn6PGTqWOTvun5ESTYplFxqpWbJhHsSdKptZjITEjdePyzzrM
 o603SqQ7sdIltg5WvUFGohjfA5JThdpt9Uc5NMzDu+EuwZ1SvIoVhFh9gtlHiWCgj+51ekhaE
 YGXPOnS1MvlEwhnWWkP2lyaOpsIfzhe/bR58yaR/6W2QskzN+GW8NVgIcTJlEk6Ppv59TphIu
 8Qlys+eka7khqEBvOf9771DRAyj+FXCEIz902iLtkTTS1VBvzr7EGVP71TCka2Q/zH8aQJxxZ
 wEH4/WkQ7msK9ODi+pYceYZBgqH1iEzhKIbiSMioKIM4QE17Zvyaf2mIw0jfk2aSDclziJZ69
 QbsSLZ1K6Bh2Rdid1sehT8Bn+fX0yj8yY/XViVWqDkyu7GlqjS20WpBcIYETUzww2exFZe+BD
 mW0sMy+Qu43hR3vwEbL1WU0Vz+2ZcS43Az1/NCJHSt23K/dHabZEZURws3s3r6D5+2Vf7gnwE
 BSN7awNcGAvFVmp6lTURux6moitZJBRzO/MttBDQMWGc0YzrGwRxjcsr0W64x6mXckdmvV6
X-Spam-Status: No, score=-73.3 required=5.0 tests=BAYES_00,
 GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,
 SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
 server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Cygwin mailing list <cygwin.cygwin.com>
List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <http://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Content-Type: multipart/mixed; boundary="===============7840577510400230967=="
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>


--===============7840577510400230967==
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi"
Content-Disposition: inline


--6c2NcOVqGQ03X4Wi
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar 21 10:41, Brian Inglis wrote:
> On 2020-03-21 02:18, Mark Geisert wrote:
> > Eliot Moss wrote:
> >> On 3/20/2020 1:54 AM, Mark Geisert wrote:
> >>> I've reproduced your snags. It/they are due to my having forgotten=20
> >>> another tiny update that should have been part of the=20
> >>> 2.33.1-cygwin-cpuset.patch file.  If you
> >>> 'echo "#define SYS_sched_getaffinity 42" > /usr/local/include/sys/sys=
call.h'=20
> >>> and then back out your other fix attempts, the build using cygport sh=
ould
> >>> work.
> >> Once I did that properly, it built without commenting out that test. Y=
ay!
>=20
> > I ended up installing Process Lasso to follow processes among the cpus =
and to
> > test the Cygwin affinity mask implementation.=C2=A0 It has a free trial=
 period.=C2=A0 And
> > I wrote a simple test program that just advances from one cpu to the ne=
xt
> > repeatedly, cpu-bound between steps, so PL can display the changing cpu.
>=20
> Anyone know if this feature support or what feature support will get top =
P/last
> used CPU and/or procps-ng P/sgi_p currently executing CPU and PSR/current=
ly
> assigned CPU showing actual CPUs rather than 0/zero?
>=20
> Anyone know if or where or how this info is available on Windows or a lin=
k to
> it? I've looked at Google and SO results and nothing useful is apparent.

Can't we just fake the calls?


Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--6c2NcOVqGQ03X4Wi
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAl54gg4ACgkQ9TYGna5E
T6DPdQ/8C3WgzJhCUD0oyt3hh6NSyK6dr8aS656ZlXA8EwbxVVpedyWJjib2R+Is
28/FqB1pj2kXejakh+NvpFX0IqNxcJ5XTsDAu1SgkVjZLlsvbV5jnQ2lnwhUc0cB
jhVFHGSrtAl59IJrn/qaDQaBQJzu140wQbA7oIKZP0YEZGucHylSQ94bGVsMFs3u
KdrBSbXeOnlsgnpVSbwnonDkvaUNSx5s/YtX+0J6RAQQ8n4GsbQU9WKur9aoJv4w
kKgsw1fG8JEcIf4XNlYpav8UJm0thR2X02i3S3GuXSSnrjLnEbiYq2rnCt5XNGIW
mABcLV7k+xAvzNWtixoN7YnhGyCHSP4x8VuntkpFVPrON7aJeeg3n3cSj2UunN+a
Kh1AW2Dm4tQKhA3OQ3tCcF8nIEQZIOaJEU5w4YEdSPMKqs1v41vvLHSdvKLLvQB5
o3QeDwqQENOfx/FpVmqbW518aQUCfoyqWH28n5BcFveSOGOaEpPicU4yks0we7Uo
xEI1xofcSU4vrMZ/wM7lMHOwSwheVaE0Gzli5LnkghSmSlbcEDgA4TImZqMMUrHn
IILrt4glkyjosElFj0306zzqY8yLhAERlLC8FeYSNbdZywrfzdPiecRsehbOOrZx
Yy8xymBCAEvRO9B7jt0Tr8/TqeN8H+6fZMl7QiRV7UfqHUCXnWc=
=uK+9
-----END PGP SIGNATURE-----

--6c2NcOVqGQ03X4Wi--

--===============7840577510400230967==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

--===============7840577510400230967==--