Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1575121rwl; Wed, 5 Apr 2023 20:33:06 -0700 (PDT) X-Google-Smtp-Source: AKy350ZFexkCdLD0aKOE3mKJ71waUMicu1db+LDJBK+VsN1urogFWNwVGiL50TffoEioe0ETl0qT X-Received: by 2002:a17:907:da7:b0:933:422b:5f5d with SMTP id go39-20020a1709070da700b00933422b5f5dmr6743521ejc.18.1680751985906; Wed, 05 Apr 2023 20:33:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680751985; cv=none; d=google.com; s=arc-20160816; b=Y4uGGNUL2D596DOiylfoDK1QhT5Numf/7Ix8VIX5l6J68IUBM1HNLVXjVNvobz11Fp 7m0HRZA0Q3gj3unw9xvdu4W9WbpsADviXflp8/iz+0RZmphguGU+uWEYwj91RpLSVRJd bwlMzXwHYQOROdEFk1kSLDQxxLHq9y1LPu44MSpU3tOAc5YsN8Nag/ayI8dnwIJUQjLm gJ46t6a/BVhWoDE7972h8CgkPDbSQmWy86uuOTROi+S3kqz8JYrf2eR2t9xlDwrHJy55 e2/Bkmy2aEp3Rd75qV2TJryZQVXLuEwm2f92kIne2WN9qG4XrNy5McT/oTVB6IwiGF4p eggg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:references:in-reply-to:user-agent:subject:cc:to:from :date:dkim-signature; bh=BHV7sDqQqWqQaFhWGSuoJNVnT3zI5iMX9pvI7rLVcbM=; b=p+x1RGH8UntdIbcz0Gv7ZMrrWYrvGN6C5BcnA/p1HDxsZPLQ+udXkxjf3Tt6CN41Od nvc1uny7Cf8PSCduvrRR9VVkxRVKTvIYOzokIXNZdYL7bgpKXx3H+peVzsc4HevdcpdG fsQqdO0e6Xm+OSaarLy4gr3fuyeYjwq7fADegsWQReJxmGVhF94eDTPix+zzVH8QaX9T WgP+4OOT0plrO+GuQgiJgF+N1aK1FiTl1htZn8VmPJyLSxGmzD2g1fUOx1UYXawzlG6t x5OS7O4sOxDLA3WcMB0vqGmoB42oABePDQRvebnB6KVFtZusZQsM904Y8YetbPoUMMNK zfzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JWpjopWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id gg18-20020a170906e29200b0094415aa2c5fsi318929ejb.977.2023.04.05.20.32.39; Wed, 05 Apr 2023 20:33:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=JWpjopWc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235102AbjDFDTb (ORCPT + 99 others); Wed, 5 Apr 2023 23:19:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39584 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234327AbjDFDT2 (ORCPT ); Wed, 5 Apr 2023 23:19:28 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 002FC1FE7 for ; Wed, 5 Apr 2023 20:19:27 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8F43B62AD2 for ; Thu, 6 Apr 2023 03:19:27 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD653C433EF; Thu, 6 Apr 2023 03:19:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680751167; bh=WBcX+ALJsZXJgSLglT3gOMa4spLs5SiX6NUnA41xE3M=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=JWpjopWcb1gxv3B+3Tu/v3M8rDkH6AFSw5XcP2WFtSXRie2EBRGXRlb0vD+OXDfPQ xQrB7CCfz+3UTgtE86XCkw7n7VH/g3t3P9cee2R56xUp248EAxdvU0Fb5Ps0gxwBHn QBgXNcwNZyPOEeIWfiqmJ9cB2a4PUq/cwb+I6tWi0aFGD1st4bgSTzS4rW0oDoZYXb gnG43wDFaOFpwZ9lj6xx38qQHBQAYdx01CUclXGOAZPgHT+/VCeaqRvz/wNyIoHbsN vzCRPQpn7EgrEkAF5hCuavDa7xaZgnZn9mz5opKs2QffgAYy7TAPu7QUmjTjIobmF1 8/kclKZQnVwJQ== Date: Wed, 05 Apr 2023 20:19:26 -0700 From: Kees Cook To: Andrei Vagin , Kees Cook CC: Andrei Vagin , linux-kernel@vger.kernel.org, Christian Brauner , Chen Yu , Andy Lutomirski , Dietmar Eggemann , Ingo Molnar , Juri Lelli , Peter Oskolkov , Tycho Andersen , Will Drewry , Vincent Guittot , Peter Zijlstra Subject: =?US-ASCII?Q?Re=3A_=5BPATCH_0/6_v5_RESEND=5D_seccomp=3A_add_?= =?US-ASCII?Q?the_synchronous_mode_for_seccomp=5Funotify?= User-Agent: K-9 Mail for Android In-Reply-To: References: <20230308073201.3102738-1-avagin@google.com> <20230327102715.GA7701@hirez.programming.kicks-ass.net> Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-5.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On April 3, 2023 11:32:00 AM PDT, Andrei Vagin wrote: >On Mon, Mar 27, 2023 at 3:27=E2=80=AFAM Peter Zijlstra wrote: >> >> On Tue, Mar 07, 2023 at 11:31:55PM -0800, Andrei Vagin wrote: >> >> > Kees is ready to take this patch set, but wants to get Acks from the >> > sched folks=2E >> > >> >> > Andrei Vagin (4): >> > seccomp: don't use semaphore and wait_queue together >> > sched: add a few helpers to wake up tasks on the current cpu >> > seccomp: add the synchronous mode for seccomp_unotify >> > selftest/seccomp: add a new test for the sync mode of >> > seccomp_user_notify >> > >> > Peter Oskolkov (1): >> > sched: add WF_CURRENT_CPU and externise ttwu >> >> Acked-by: Peter Zijlstra (Intel) > >Kees, > >Could you look at this patch set? You wrote to one of the previous >versions that you are ready to take it if sched maintainers approve it=2E >Here is no major changes from that moment=2E The sched-related part has >been cleaned up according with Peter's comments, and I moved the perf >test to the perf tool=2E Hi! Yes, thanks for keeping this going! I'm catching up after some vacation, b= ut this is on my TODO list=2E :) -Kees --=20 Kees Cook