can't find file to patch at input line 118 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |From patchwork Fri Jul 9 00:13:19 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: 44278 |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 02F8B3982C88 | for ; Fri, 9 Jul 2021 00:15:47 +0000 (GMT) |DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 02F8B3982C88 |DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; | s=default; t=1625789747; | bh=RfmnEuFzbIYSNH3rNftAYkQpf6ejbKrNWW0AmNx3hxw=; | 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=HkNrDToHDWordHbeVO2nK+lkW4YE1K9FjLqktuQ5pG+EuqvhVlijER7K1OYUF3koX | Jo8KUPok1MAIOc6E0GfBvulbC+5NF8cK/NSY2TKdcPv/jHAZsvqqTL9vOTB22DUlzc | /hBjI/T37otQteY/962mF6pwah59Q2lAxqqN6zqc= |X-Original-To: libc-alpha@sourceware.org |Delivered-To: libc-alpha@sourceware.org |Received: from bhuna.collabora.co.uk (bhuna.collabora.co.uk | [IPv6:2a00:1098:0:82:1000:25:2eeb:e3e3]) | by sourceware.org (Postfix) with ESMTPS id 0E21E385703A | for ; Fri, 9 Jul 2021 00:14:08 +0000 (GMT) |DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0E21E385703A |Received: from [127.0.0.1] (localhost [127.0.0.1]) | (Authenticated sender: tonyk) with ESMTPSA id 04F221F415F9 |To: Thomas Gleixner , Ingo Molnar , | Peter Zijlstra , Darren Hart , | linux-kernel@vger.kernel.org, Steven Rostedt , | Sebastian Andrzej Siewior |Subject: [PATCH v5 02/11] futex2: Implement vectorized wait |Date: Thu, 8 Jul 2021 21:13:19 -0300 |Message-Id: <20210709001328.329716-3-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=-12.0 required=5.0 tests=BAYES_00, GIT_PATCH_0, | KAM_DMARC_STATUS, KAM_MANYTO, 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" | | |Add support to wait on multiple futexes. This is the interface |implemented by this syscall: | |futex_waitv(struct futex_waitv *waiters, unsigned int nr_futexes, | unsigned int flags, struct timespec *timo) | |struct futex_waitv { | __u64 val; | void *uaddr; | unsigned int flags; |}; | |Given an array of struct futex_waitv, wait on each uaddr. The thread |wakes if a futex_wake() is performed at any uaddr. The syscall returns |immediately if any waiter has *uaddr != val. *timo is an optional |timeout value for the operation. The flags argument of the syscall |should be used solely for specifying the timeout clock as realtime, if |needed. Flags for shared futexes, sizes, etc. should be used on the |individual flags of each waiter. | |Returns the array index of one of the awakened futexes. There’s no given |information of how many were awakened, or any particular attribute of it |(if it’s the first awakened, if it is of the smaller index...). | |Signed-off-by: André Almeida |--- | arch/x86/entry/syscalls/syscall_32.tbl | 1 + | arch/x86/entry/syscalls/syscall_64.tbl | 1 + | include/linux/compat.h | 9 + | include/linux/futex.h | 108 ++++++-- | include/uapi/asm-generic/unistd.h | 4 +- | include/uapi/linux/futex.h | 15 ++ | kernel/futex.c | 72 +----- | kernel/futex2.c | 345 +++++++++++++++++++++++++ | kernel/sys_ni.c | 2 + | 9 files changed, 477 insertions(+), 80 deletions(-) | |diff --git a/arch/x86/entry/syscalls/syscall_32.tbl b/arch/x86/entry/syscalls/syscall_32.tbl |index e3b827a9c094..5573437c1914 100644 |--- a/arch/x86/entry/syscalls/syscall_32.tbl |+++ b/arch/x86/entry/syscalls/syscall_32.tbl -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 127 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/arch/x86/entry/syscalls/syscall_64.tbl b/arch/x86/entry/syscalls/syscall_64.tbl |index 63b447255df2..bad4aca3e9ba 100644 |--- a/arch/x86/entry/syscalls/syscall_64.tbl |+++ b/arch/x86/entry/syscalls/syscall_64.tbl -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 139 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/linux/compat.h b/include/linux/compat.h |index 5a910e0c437a..75b90e41e05b 100644 |--- a/include/linux/compat.h |+++ b/include/linux/compat.h -------------------------- No file to patch. Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 166 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/linux/futex.h b/include/linux/futex.h |index f0eaa05ec8bc..7afef5bb3da2 100644 |--- a/include/linux/futex.h |+++ b/include/linux/futex.h -------------------------- No file to patch. Skipping patch. 4 out of 4 hunks ignored can't find file to patch at input line 307 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h |index df9fe2e23ee0..57acb3a0f69f 100644 |--- a/include/uapi/asm-generic/unistd.h |+++ b/include/uapi/asm-generic/unistd.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 324 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/include/uapi/linux/futex.h b/include/uapi/linux/futex.h |index 44750caa261e..daa135bdedda 100644 |--- a/include/uapi/linux/futex.h |+++ b/include/uapi/linux/futex.h -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 350 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/kernel/futex.c b/kernel/futex.c |index ef7131bd8bc4..135782fc3461 100644 |--- a/kernel/futex.c |+++ b/kernel/futex.c -------------------------- No file to patch. Skipping patch. 9 out of 9 hunks ignored patching file kernel/futex2.c can't find file to patch at input line 852 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff --git a/kernel/sys_ni.c b/kernel/sys_ni.c |index dbe397eaea46..93807bb7be51 100644 |--- a/kernel/sys_ni.c |+++ b/kernel/sys_ni.c -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored