From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) by sourceware.org (Postfix) with ESMTPS id 5E1EF385E01D for ; Mon, 23 Mar 2020 09:32:00 +0000 (GMT) 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@cygwin.com Received: from calimero.vinschen.de ([24.134.7.25]) by mrelayeu.kundenserver.de (mreue011 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MPXxi-1iuwpx0gyY-00MbOM for ; Mon, 23 Mar 2020 10:31:59 +0100 Received: by calimero.vinschen.de (Postfix, from userid 500) id B6A2CA80771; Mon, 23 Mar 2020 10:31:58 +0100 (CET) Date: Mon, 23 Mar 2020 10:31:58 +0100 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Why is taskset still not in util-linux? Message-ID: <20200323093158.GA3261@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: <1348011a-261a-2a87-d361-4e51fa8dc19f@cs.umass.edu> <85ae12aa-6cc3-5d4c-5df2-25bf811ec6a9@maxrnd.com> <72fea68a-b3d7-e87c-726f-8a5a2587a992@maxrnd.com> <01e3d337-e5fe-f393-7634-3f1881bca315@cs.umass.edu> <79d7afa5-a07b-04df-c259-b76c61390f8c@maxrnd.com> <92157259-166d-a85d-2db7-a8e30c75ec09@cs.umass.edu> <99d74893-f9f8-4d8d-a400-dfe247660bf0@maxrnd.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6c2NcOVqGQ03X4Wi" Content-Disposition: inline In-Reply-To: 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@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Mar 2020 09:32:01 -0000 --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--