Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp1732925lqe; Mon, 8 Apr 2024 20:18:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXWaXF0wNreKVjuOt2HdgpWuJEatAFTuY6gOEA8G/bg0Im3MeFJMviOqELpVJEzzA3Mil/62QH+alhO2w+6zSRFDuhyjcS3NMUp2ugq3w== X-Google-Smtp-Source: AGHT+IFvV3UJAW/ky8O4cYkrL6+KgKUCF0CpyKxG00V6yD9Ihv7vHi0fWbGTE3rJfzDc2MHLPMFQ X-Received: by 2002:a05:6a20:72a5:b0:1a7:4a72:9496 with SMTP id o37-20020a056a2072a500b001a74a729496mr11948324pzk.53.1712632682512; Mon, 08 Apr 2024 20:18:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712632682; cv=pass; d=google.com; s=arc-20160816; b=SfBYgcuA6nlEJzWbupp7dRZJH9QVznyUI7+gXC6Um2/Rm6Fep7LEYjGGYH0N/YShiI lAWYoYMTOXdORFUYcR4O31JSh7rmCeD9OjVCjkrVMIBpWuHJzTv6HIzbM/nUpflsbxvr q1Z5gh2WESA3ZWn4rmUdFlGoySEZ7NezqQd1M1NNvS6mX++XrPrUYSQxP9QkcTWXo1dy QAQh5+oVIUqzo1pzR66PZmn36Bb22tL4t2HuvCsmicymMy0DUafwvMhk1lf8s1zkbw7Q CyniZLdUzdX7JgCTi4acHvqbI5uznswUYLhWquT7OH1GcpaV25hggSgxWCrempn1uoN2 QLFw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=P4H/XFvHwflrrbs3t/kUcS+grqgQHB4cHU8wQ9a3lQ0=; fh=fG1Y/sNSiVlSLfJot+gH4g9OpZa/OoI1V0D+csRVWwA=; b=NXvIleOlubzz+WdmLOrAnNlTq/RFa7TR/WPj8f488ewmH0Q1QuVP4KAJYlVde+ub2O 2ucgg5Q1TR9iQRWLikcN8dQT4wMP1AsNlZIEa+OmXCXZo7TPw8JZU35AqD2jlugK0ivw 7DJaBX0RLtkUI+Io+Ut9pm5UJnpfzj2/XKv6yImUyTmDmos7upwaKuOiXovKdtIzUbfe wvgQqnSXTf3U7ttqJCxN7qMtkEowFRtToYbHpOmdst3aDKhnIJgylVWNehmQqlNSxJKY EhfxDxs6XcGz/ckeKsAinc4f0CIpk1syMVTlWSeeVgn7C82iSGfwSVvAHI+Usdxww8Kv 1YNw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VUTESkjM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-136187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id n20-20020a635c54000000b005cee178fe54si7880532pgm.222.2024.04.08.20.18.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Apr 2024 20:18:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-136187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=VUTESkjM; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-136187-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-136187-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 185F3284244 for ; Tue, 9 Apr 2024 03:18:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 07C7856B77; Tue, 9 Apr 2024 03:17:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="VUTESkjM" Received: from mail-wm1-f47.google.com (mail-wm1-f47.google.com [209.85.128.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9384154657; Tue, 9 Apr 2024 03:17:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.47 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712632665; cv=none; b=nlAVqI8DFzCYP/FVbO+Ci0oComy1ezCqQzfes1legzmtzHusT5quWzVHOyvrCWhtDSqs8n313kekxxJMZcyMk0qe/hhj5tQm7ZWQz7xByUaiN8z3lUpGOmkvPGIt3/4Mm55ppfl3+K1Bax9UVl6P+rFXMnOAZW2umgkcHGbAPA8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712632665; c=relaxed/simple; bh=P4H/XFvHwflrrbs3t/kUcS+grqgQHB4cHU8wQ9a3lQ0=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=PBgujGQsc7edpjuC9zkfQgKrcap4CUqEi3V1Rofvoyu+Z1awGCa3nZxAhS7Ko9NsvR++8t2sJbW/MVzpTHbHv8AQasOJjqMcMutXYl+MkF6AIQMTfBcWakMq/zo/1REkM9TrgM1nCCx8bi04uVICjuYu+O/royFIeDNI4OHpTn0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=VUTESkjM; arc=none smtp.client-ip=209.85.128.47 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-f47.google.com with SMTP id 5b1f17b1804b1-41691fb4c8fso7879665e9.1; Mon, 08 Apr 2024 20:17:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1712632662; x=1713237462; darn=vger.kernel.org; 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=P4H/XFvHwflrrbs3t/kUcS+grqgQHB4cHU8wQ9a3lQ0=; b=VUTESkjMUdI65c7yITJQxRwRmvuwjMj7+qOiUUa1ExKZBl3yNGBRtsKX5pWg+r+iki JOfM4Tvx9c82h5AlLHqglZ8EXlT9QTG/CWlbW0EpLjd7k0GHdcCjEPv5++JqKzna+6bH 1gg9zWXQq/2o5NR1s7shZUqYA8SWbb1alWH9IsmgivWIvVNwTduNSxZynTu2pibF67tl 6OtOGndJYKnABk2p6B1N/Clxz37sZTqL4IS4uSIz8DmBxF175T/y3FxiV20xZAv74dji 6jLv6TgopNpDnZQWhtdpYA/8sFCVdUtuGMxp2Aa73HaWWLK0Mc154mvPr+WVXHTr3xVF SKDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712632662; x=1713237462; 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=P4H/XFvHwflrrbs3t/kUcS+grqgQHB4cHU8wQ9a3lQ0=; b=hliJV0dbjYVQmCkS4TGmqUo8euX5Qdq0EgNSQvGUsx9y4jkh91Hu+RP6DGEZjDr3cx KKwK6VP1F2rh9eIBO6LS3cGfHRZWwH15XCSqD32muu2wrbmKEum8J6FDftgFWyp1rRE/ xPbgX0lrJYeY6uxE3umrYB9SycfUe2JCas8nCfVDDyPa518khUHGnv7qzfRXo8uoH4gU 1ah3u6RiiBmwgkdHRnHu+Kk1Je/Tf+XOAGWis+cfVHt1BXEtZPu+YK3V9/1HE4cjnGPZ 2F9fhCnsuVbOduCUjJfgyvYcV4SC+c9BOHY4hLRnFa974gcqyLUL4Le9E1GzqLe4zQ9r 6EoQ== X-Forwarded-Encrypted: i=1; AJvYcCXvYLk/e5IFQaHgaCmVC0soe2n3pELMjgGMMMuUYAmVYPrK2W16giEnnYylYrr8rqvXu2dC5q3PD5tRd1rZtrJFpfpzwgimcVDT2GPgoVwiqOMYdCBmFV88It5jlirGPFal9lDrx7zRpCFKxyP0kDUyfJUkQXBOUWuSR6CmlJEaXRJq X-Gm-Message-State: AOJu0YxfFpBRZ5I49Igfu+XgW+cwrLPKreBhjx82pZKM5TcHuwy0eRXu Jjud2zMrM+g4ukX2G1hJ4XGVtqfn6b27k+p5aPMDvaT+4sl1Hl/8epSw4iTMF+hmJh6Cb12KEN/ z7VUfJHvYuGKMxrCd/FoKUuym2Qw= X-Received: by 2002:adf:ee08:0:b0:343:740c:5d14 with SMTP id y8-20020adfee08000000b00343740c5d14mr7914384wrn.31.1712632661977; Mon, 08 Apr 2024 20:17:41 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240408-hid-bpf-sleepable-v6-0-0499ddd91b94@kernel.org> In-Reply-To: <20240408-hid-bpf-sleepable-v6-0-0499ddd91b94@kernel.org> From: Alexei Starovoitov Date: Mon, 8 Apr 2024 20:17:30 -0700 Message-ID: Subject: Re: [PATCH RFC bpf-next v6 0/6] sleepable bpf_timer (was: allow HID-BPF to do device IOs) To: Benjamin Tissoires Cc: Alexei Starovoitov , Daniel Borkmann , Andrii Nakryiko , Martin KaFai Lau , Eduard Zingerman , Song Liu , Yonghong Song , John Fastabend , KP Singh , Stanislav Fomichev , Hao Luo , Jiri Olsa , Mykola Lysenko , Shuah Khan , bpf , LKML , "open list:KERNEL SELFTEST FRAMEWORK" , Kumar Kartikeya Dwivedi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Mon, Apr 8, 2024 at 1:09=E2=80=AFAM Benjamin Tissoires wrote: > > New version of the sleepable bpf_timer code. > > I'm posting this as this is the result of the previous review, so we can > have a baseline to compare to. > > The plan is now to introduce a new user API struct bpf_wq, as the timer > API working on softIRQ seems to be quite far away from a wq. Looking forward. I think it's almost there.