can't find file to patch at input line 101 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Fri Jul 9 00:13:28 2021 |Content-Type: text/plain; charset="utf-8" |MIME-Version: 1.0 |Content-Transfer-Encoding: 8bit |X-Patchwork-Submitter: =?utf-8?q?Andr=C3=A9_Almeida?= | |X-Patchwork-Id: 44287 |Return-Path: |X-Original-To: patchwork@sourceware.org |Delivered-To: patchwork@sourceware.org |Received: from server2.sourceware.org (localhost [IPv6:::1]) | by sourceware.org (Postfix) with ESMTP id 6019C3982CBD | for ; Fri, 9 Jul 2021 00:23:11 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6019C3982CBD |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1625790191; | bh=SHfpvjSOhoRk95Wt05YrZ2bTlFczvRUz4LaJI86yPXU=; | h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: | List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: | From; | b=JcrAworOQy4vUVujTzrCDSwLzMcbZcm5FFgxnDOdbLrh3BNeMAgOQV6xIraVCVX1u | foWphvyvGeTpGYFLKgQtkry+ydLQMdHRddvGsBXWEbxjGzPVf68szUIKhd5lXe7zyk | UeKD5YzmDd500UqA2egAqaNSMLxVBpm5n1RK6PFc= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk [46.235.227.227]) | by sourceware.org (Postfix) with ESMTPS id 8B6AA3982C88 | for ; Fri, 9 Jul 2021 00:15:06 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 8B6AA3982C88 |Received: from [127.0.0.1] (localhost [127.0.0.1]) | (Authenticated sender: tonyk) with ESMTPSA id AD5281F41E36 |To: Thomas Gleixner , Ingo Molnar , | Peter Zijlstra , Darren Hart , | linux-kernel@vger.kernel.org, Steven Rostedt , | Sebastian Andrzej Siewior |Subject: [PATCH v5 11/11] kernel: Enable waitpid() for futex2 |Date: Thu, 8 Jul 2021 21:13:28 -0300 |Message-Id: <20210709001328.329716-12-andrealmeid@collabora.com> |X-Mailer: git-send-email 2.32.0 |In-Reply-To: <20210709001328.329716-1-andrealmeid@collabora.com> |References: <20210709001328.329716-1-andrealmeid@collabora.com> |MIME-Version: 1.0 |X-Spam-Status: No, score=-11.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, | KAM_DMARC_STATUS, KAM_MANYTO, KAM_NUMSUBJECT, SPF_HELO_PASS, SPF_PASS, TXREP, | UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 |X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on | server2.sourceware.org |X-BeenThere: libc-alpha@sourceware.org |X-Mailman-Version: 2.1.29 |Precedence: list |List-Id: Libc-alpha mailing list |List-Unsubscribe: , | |List-Archive: |List-Post: |List-Help: |List-Subscribe: , | |X-Patchwork-Original-From: =?utf-8?q?Andr=C3=A9_Almeida_via_Libc-alpha?= | |From: =?utf-8?q?Andr=C3=A9_Almeida?= |Reply-To: =?utf-8?q?Andr=C3=A9_Almeida?= |Cc: fweimer@redhat.com, shuah@kernel.org, Davidlohr Bueso , | libc-alpha@sourceware.org, corbet@lwn.net, linux-api@vger.kernel.org, | z.figura12@gmail.com, | =?utf-8?q?Andr=C3=A9_Almeida?= , | Nicholas Piggin , malteskarupke@fastmail.fm, | acme@kernel.org, linux-kselftest@vger.kernel.org, | Andrey Semashev , joel@joelfernandes.org, | Peter Oskolkov , kernel@collabora.com, krisman@collabora.com, | pgriffais@valvesoftware.com |Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org |Sender: "Libc-alpha" | | |To make pthreads works as expected if they are using futex2, wake |clear_child_tid with futex2 as well. This is make applications that uses |waitpid() (and clone(CLONE_CHILD_SETTID)) wake while waiting for the |child to terminate. Given that apps should not mix futex() and futex2(), |any correct app will trigger a harmless noop wakeup on the interface |that it isn't using. | |Signed-off-by: André Almeida |--- | |This commit is here for the intend to show what we need to do in order |to get a full NPTL working on top of futex2. It should be merged after |we talk to glibc folks on the details around the futex_wait() side. For |instance, we could use this as an opportunity to use private futexes or |8bit sized futexes, but both sides need to use the exactly same flags. |--- | include/linux/syscalls.h | 2 ++ | kernel/fork.c | 2 ++ | kernel/futex2.c | 30 ++++++++++++++++++------------ | 3 files changed, 22 insertions(+), 12 deletions(-) | |diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h |index b9c2874410d0..85b5a501fb96 100644 |--- a/include/linux/syscalls.h |+++ b/include/linux/syscalls.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 114 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/kernel/fork.c b/kernel/fork.c |index b4386ff6a641..f3f98e197fb6 100644 |--- a/kernel/fork.c |+++ b/kernel/fork.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored patching file kernel/futex2.c