From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by sourceware.org (Postfix) with ESMTPS id 2BBE1385E019 for ; Tue, 24 Mar 2020 08:16:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 2BBE1385E019 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=moss@cs.umass.edu Received: from [150.203.106.61] (dhcp-liversidge61.anu.edu.au [150.203.106.61]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id B2D35401AF4E; Tue, 24 Mar 2020 04:16:57 -0400 (EDT) Reply-To: moss@cs.umass.edu Subject: Re: Why is taskset still not in util-linux? To: Mark Geisert , cygwin 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> <4c782f2b-c9f0-cd81-cb8d-f874ddc92fa8@cs.umass.edu> <95b3be49-8842-35d3-faab-7fb053201d8f@roumenpetrov.info> <895c7fa2-62af-efce-97d7-9813c5f54e26@cs.umass.edu> From: Eliot Moss Message-ID: <33fc06f7-704c-2728-4fd9-085eaba22db0@cs.umass.edu> Date: Tue, 24 Mar 2020 04:16:52 -0400 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00, KAM_DMARC_STATUS, SPF_HELO_NONE, SPF_PASS, 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: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Mar 2020 08:17:03 -0000 On 3/24/2020 4:09 AM, Mark Geisert wrote: > Eliot Moss wrote: >> Well, I had _thought_ I had done 'cygport install' and run the installed >> version, but I seem to have been wrong.  I seem to have manually over-written >> the proper (stripped) binary with the wrapper! >> >> Anyway, I've got the whole thing working and offer the attached patches for >> "thoughtful consideration".  I have done away with the need to create an empty >> or fake /usr/local/include/sys/syscall.h and changed the source of the >> relevant programs to conditional #include on #indef >> __CYGWIN__, which sruck me as more legitimate (the file in questions is >> patched anyway).  And I improved configure.ac so that the programs controlled >> by --enable-schedutils are more independent and can fail individually without >> failing the build.  Part of that was subtituting, as a patch to configure.ac, >> a check for the sched_getaffinity and sched_setaffinity calls in place of the >> check for the corresponding syscall.  The whole builds and installs.  I can >> provide the packaged up version (I assume that is the 'dist' hierarchy) if >> that would be helpful. > > Thanks very much for working on all this and contributing it.  I will build and test as soon as I > can.  I need to research the packaging steps because I intend to ITA this package.  I do also want > to take another look at the other programs built as part of --enable-schedutils; they might (or > might not) build cleanly but AFAIK there's no support within Cygwin and/or Windows for what they can > do on Linux. Agreed - glad to help! Eliot