Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6798463imu; Wed, 14 Nov 2018 07:08:35 -0800 (PST) X-Google-Smtp-Source: AJdET5epnhBMNb8Rhab62W7+TKsOUT8RB6+/7cH4GFvjW5L8bkQZ1t5nRKjDO7Q+1hrdewHmH9SN X-Received: by 2002:a63:d005:: with SMTP id z5mr2108257pgf.64.1542208115325; Wed, 14 Nov 2018 07:08:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542208115; cv=none; d=google.com; s=arc-20160816; b=IfmS4vd7v00cMCrmQgc66u4eQhPpomIHAj5tfjYloaXaiSVZlHAyjVplszHUNJseG1 PaJ16kkhcEw18fEBLWgVYHunUOayU65BC5oQLii+8GcPSbYb2+qfQTmygLfr0qsRZHaD aPVS0Qv4jvN4ThrGVmNV8RxOSgYh7FJUxb6AFBCIjKxrOkecmjyxudpHQsQmFNU9DAUF wAaq+bq5nEzyTsvTgq5c5PRJktQCedhBgMkMqJZ2HNlZ+6h2FIuGbNod/wfJYpkBBWkq EhkyWINWACgzSyYcoPGXygve5Sws0rpDLvO3rtpaPjA1ojxTJ675R7lg13+E+6B/rGo+ /IOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :in-reply-to:date:references:subject:cc:to:from; bh=SMrO7//FXZTlPhFZ+s/VHsyxNhmKdOlirOxCxWjlo8g=; b=uH8I6ijzn7XGgmYyud/ZpfKiAofbg9ZbAT7gw6t1GabLDqgSCop0pDJ77sMMwj1Tve HZ+PuHtDD6yEnzso6Toc6Mf/iDvlUhp8m45nR7v/OyYAWExBVTz2UTBXPIxVaLACHy/6 OV4MBSZViISmvcSbOyclR+vy64FbMmsHD7IfKHUnmv4OkRujHL0pocs2WEHGg9SWs45O NGwP2Oj0egx/t4WUAqyORKPb239wLLfjw8WvbXxvBBzQJmwWViSlH+vGlJyeejYv8Jfy HYhjhbp0JVwyZWMlrU9x4fAESIK8HK/EuLunNcrTgUSLfG2oPdBxayJeKxmMenOGnNfF jYCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v9-v6si26318814plg.177.2018.11.14.07.08.17; Wed, 14 Nov 2018 07:08:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1733149AbeKOBLD (ORCPT + 99 others); Wed, 14 Nov 2018 20:11:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34816 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728116AbeKOBLC (ORCPT ); Wed, 14 Nov 2018 20:11:02 -0500 Received: from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com [10.5.11.16]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B70D630024A5; Wed, 14 Nov 2018 15:07:26 +0000 (UTC) Received: from oldenburg.str.redhat.com (ovpn-117-210.ams2.redhat.com [10.36.117.210]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 0FA9361470; Wed, 14 Nov 2018 15:07:23 +0000 (UTC) From: Florian Weimer To: Andy Lutomirski Cc: Szabolcs Nagy , Dave P Martin , Daniel Colascione , nd , "Michael Kerrisk \(man-pages\)" , linux-kernel , Joel Fernandes , Linux API , Willy Tarreau , Vlastimil Babka , Carlos O'Donell , "libc-alpha\@sourceware.org" Subject: Re: Official Linux system wrapper library? References: <877ehjx447.fsf@oldenburg.str.redhat.com> <875zx2vhpd.fsf@oldenburg.str.redhat.com> <20181113193859.GJ3505@e103592.cambridge.arm.com> <5853c297-9d84-86e5-dede-aa2957562c6b@arm.com> <1C1B38FC-1266-4A91-B8F6-20A0C49ED1E2@amacapital.net> Date: Wed, 14 Nov 2018 16:07:17 +0100 In-Reply-To: <1C1B38FC-1266-4A91-B8F6-20A0C49ED1E2@amacapital.net> (Andy Lutomirski's message of "Wed, 14 Nov 2018 06:46:47 -0800") Message-ID: <87va4zaeai.fsf@oldenburg.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.79 on 10.5.11.16 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.40]); Wed, 14 Nov 2018 15:07:27 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Andy Lutomirski: > Thread cancellation is a big mess, and we only really need to support > it because on legacy code. The whole mechanism should IMO be > considered extremely deprecated. The part regarding legacy code is not true: people write new code using it all the time. It's true that this feature is difficult to use, and it is often employed in cases where it is not needed or counterproductive. However, there are cases where code becomes simpler. Thanks, Florian