Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp19631366rwd; Wed, 28 Jun 2023 11:53:58 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5s2vjWkWX0YIGRPzaYi2nWxww2FnVS/9896kcnfiHtDA+9TF3pHeKm4kUWcbDMqQ9E14t3 X-Received: by 2002:a05:6a00:1388:b0:668:93e7:6800 with SMTP id t8-20020a056a00138800b0066893e76800mr3138415pfg.14.1687978437928; Wed, 28 Jun 2023 11:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687978437; cv=none; d=google.com; s=arc-20160816; b=UkTodEPF39zoo+gnJ0M2POQVy0gX8lDiKMvqOZfsRujhiEeZJovBfYxkOIWpIvcw36 XNR5IGR2KBDkDAlU1dTvJT0FBDh08N1+IsFfWkFIQocvSQwf5EDbjGfT9GXGAziE/3iN w9oOshtp4VUsLtNqEAXlSnMDuXqqQJ58w4txr29VHeFcVazfusjbjvt6jzdYV3BAfp9g k5mZJS5Nj6uZgz3IwvVINExkqFKSQLtN3uSon+WjCemcssJsJBqf1RKmX8OtAx0zjuca QhgFowFuYibDPmjg3oTuubqPV/27BZff4JloQYsi0X0qozVdd7nm11uHPIo+SGOHzvCr kXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=rPXl0OE4qlqvKa8g41YgERuIrAW9CuTnSWDn3rM0g5Y=; fh=IJCQnUJnQPVnue+LuGCiLFOlvrkSpPg4AQx/fAoGvbE=; b=uU3RDkZPB5y7ZS35Mx2HHz1NFc5Ax1y8iywCz/RiQPdGWp0mJw22zRkVYGy0Y7cdBy vHrmX5ts4OqPmwlp0BGzRUbDExA+3hCmRlHAeYRCqLN8gw7s7INirdZjz1pMDj4VK0xw Fg5r7yFLapAg1ZMLu9a+p2Jm3wYhDNmhixBYOmytAW91+icVv6fjWFZOYA8P50up7H6+ 44vKBesU7MuBApwWkT1gGSw0EUs+fe8q6wkow0dDaiQ6irwbZsHNOFJ7FXmSW/NswCAD fj65ngLllUy+C/D4dyTYF1+JTM2kHDpF14JO3kFZkBzUOqwouvQxVeACzf+NzdI/wDUc +FFQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=Et6aiA5x; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ce12-20020a056a002a0c00b0065b4e2b52c5si8764297pfb.196.2023.06.28.11.53.45; Wed, 28 Jun 2023 11:53:57 -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=@google.com header.s=20221208 header.b=Et6aiA5x; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230496AbjF1SoV (ORCPT + 99 others); Wed, 28 Jun 2023 14:44:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230504AbjF1SoT (ORCPT ); Wed, 28 Jun 2023 14:44:19 -0400 Received: from mail-lf1-x12b.google.com (mail-lf1-x12b.google.com [IPv6:2a00:1450:4864:20::12b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A17FF1FE7 for ; Wed, 28 Jun 2023 11:44:16 -0700 (PDT) Received: by mail-lf1-x12b.google.com with SMTP id 2adb3069b0e04-4f954d78bf8so9067265e87.3 for ; Wed, 28 Jun 2023 11:44:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1687977855; x=1690569855; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=rPXl0OE4qlqvKa8g41YgERuIrAW9CuTnSWDn3rM0g5Y=; b=Et6aiA5xEhKI1wcXui48Z21cytHNeo2ahz4Xgm70yfnimV2i4uR4o8aTBrNrsd3ZEp 8l6xxmhc4OwoSwnY+LQOxwp97LU8WFnkN2nY5Z+TZEvBDME2+0Hv6EXv5PGFbkIvMzY3 KxuctNwn/J2kDytTdtzuVFi/oQpEaVA0FXYtUaHMos3mJ02PHR8jEUK00UYJ9KVVMHY5 CXroQlu70PoPoMH4JssDXAeSeqqW2UuCxjGjEljMewBNujrSb8ckgcCKqsDiEyC4xGpR ljg1oZAuwZUTAbj12oEeKYSpvZl1EtYLL+awsabGOWAhs5x49iC/Y8O0H8EQSZCf3Q/m gong== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687977855; x=1690569855; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=rPXl0OE4qlqvKa8g41YgERuIrAW9CuTnSWDn3rM0g5Y=; b=WPyTrof+5UA4jOgXYflLTTewgqmk2hbzdQCg28LHUfaHohCMecRnHRvtwXz5rLR3wk udjuxGZOCXTkksHe0NJh1xGnS6yr99LYWhILOL0NawarbmpRI01EUlm5sWtOkv058dnN DFq0u488dy0w/ThD6zHViOlDEbV7Hvutqov6C80wq3q6y5U+2fW6Ay5IYXULAkrxXfXp 0h+bP5VZ33pbP8MAYpMziA/pA6JK/aznRLXVC64iDv8anMyPnIpAFrRbvlWG+3Eg0qx8 VPPXJLvLiUEUwVCSbvEb1wBvryU4tqsALddVQSAWFbpZAeft7vtnmrTTzPXju7AWLcfy JB+w== X-Gm-Message-State: AC+VfDyVas4vsi6m3wtK6NtACodVS4DveDx1TAGXcTsuFw9KxO5A1cv9 aMcVOBsOBPKc9Gx6tdIrcXT8FlBhma3zovCYldnU303aBC+WX6kydUF2hw== X-Received: by 2002:ac2:5f86:0:b0:4fb:7de4:c837 with SMTP id r6-20020ac25f86000000b004fb7de4c837mr4705343lfe.68.1687977854660; Wed, 28 Jun 2023 11:44:14 -0700 (PDT) MIME-Version: 1.0 References: <20230308073201.3102738-1-avagin@google.com> <20230327102715.GA7701@hirez.programming.kicks-ass.net> In-Reply-To: From: Andrei Vagin Date: Wed, 28 Jun 2023 11:44:02 -0700 Message-ID: Subject: Re: [PATCH 0/6 v5 RESEND] seccomp: add the synchronous mode for seccomp_unotify To: Kees Cook Cc: Andrei Vagin , Kees Cook , 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham 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 Wed, Apr 5, 2023 at 8:19=E2=80=AFPM Kees Cook wrote: > > 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. > >> > > >> > >> > 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. > >Here is no major changes from that moment. The sched-related part has > >been cleaned up according with Peter's comments, and I moved the perf > >test to the perf tool. > > Hi! > > Yes, thanks for keeping this going! I'm catching up after some vacation, = but this is on my TODO list. :) Hi Kees. Do you have any updates on this series? > > -Kees > > > -- > Kees Cook