Received: by 2002:a05:7412:2a8a:b0:fc:a2b0:25d7 with SMTP id u10csp346843rdh; Wed, 7 Feb 2024 06:36:09 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWK/ApTJd2bBcqiUxV1KhBhGI/ONPW1jsKWAXxiUf/tc1VG9EZU7p5x1oRnMVVKp6y6gbA0sIiYfKIrNn921KJeDmfObtCv8vrhHq58Dw== X-Google-Smtp-Source: AGHT+IH/0wwMLOwGXOz07KLrrkbR6DEXpT4RTn/K9nlZbdQb85w98e1dErLKKI6OMNF4l8LnL3Pn X-Received: by 2002:a1f:7cce:0:b0:4bd:752b:8d3d with SMTP id x197-20020a1f7cce000000b004bd752b8d3dmr2199927vkc.9.1707316569091; Wed, 07 Feb 2024 06:36:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707316569; cv=pass; d=google.com; s=arc-20160816; b=L+ATK4+9PzF75tqH2IJJIoTRY9j+FdfIghyZrMkg1ONMo7Iu4ijzGwZtN4aM+atU2r V0z8AKB2AZRxuN3yAbDAk7uJ279R/EtJwprjayi5scLyQOkQtgH13WDNO8fY4aQnxytU xduJkixVzNE/YqUqpGvTx/Qbe1vY9jYS16sCHXFbfnxH4IH3gR9pFyvTf/WNgxQi62Hh b2bOXyZ4VVDDjf6hp7k9KzHuQkr3sFehRixGmODOdq0YpiI3g4rHonmckiRfvHC28wYC 2IV+E1C40TW6gw5HaFXSVqRkdVUldPlIaHiFxrNEaW3rxdMW2n9lclTIeaTsmpewu1Dm vOgQ== 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=GS8oKSLwKnX/1OmCvP477VoPbNUPt8nzRLpvXwaBKqk=; fh=3Aaq7KJt3ZLD/+QfKaAUQ9sx0OdzOS/0e1o93Gkc7jc=; b=AwVY+kLAdGb5P4RWxZLP4vqopW9kO72LmTEHQmPML/xiw2bO02sOv3oHU0FVJOpFyi h5Z2K9AeNgBjgvNhZpeoL8dgIM2WIF/AgtWK6giu4mwuuhTh1qGE2Ip9xntF88HJAK/x 60Yn6MrvsAjbwpPSnnZLWdfImSXnq68+JkTNYbea1Rh9svzLNdl0CSDQgT5pjKFQz9v0 Hpago2P/JJRcdG0w6iwh1bekV04pDXWX/y//hX63WlRF6hd/L3fZTQJjJKri2tyyafQg ILUwXuN+TeNy+2jxorPFhTKX8jsEW0IUUYULlwxRKUD4zA2tHGDbzNpOtHG8KtD4YnvD /11g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fxQvsSpG; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-56628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com X-Forwarded-Encrypted: i=2; AJvYcCWDlN7okch5osTZ+KjKUgBRO39aROjs3zJ63bfgugjcUQLws3O5WrM2lBFrxhKU886ici7gXUXzQLrd8h/j9a5LhAKhC9ou3LV5eTeduw== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id u28-20020ac5c93c000000b004c0207357efsi186344vkl.300.2024.02.07.06.36.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 06:36:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-56628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=fxQvsSpG; arc=pass (i=1 spf=pass spfdomain=redhat.com dkim=pass dkdomain=redhat.com dmarc=pass fromdomain=redhat.com); spf=pass (google.com: domain of linux-kernel+bounces-56628-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-56628-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.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 ny.mirrors.kernel.org (Postfix) with ESMTPS id BE4791C20CA4 for ; Wed, 7 Feb 2024 14:36:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 586A27F7F6; Wed, 7 Feb 2024 14:35:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fxQvsSpG" Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B1D4A7E77E for ; Wed, 7 Feb 2024 14:35:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707316517; cv=none; b=od4cPLjy9weRXgrUY+V6Jk25RIyODq55iXstPu63aProtVGBDK+L1wN+89G6YigzIDXgws6ChAEfMK4zbpd1I/OM29ComMtcxW9JsrXfFyR7hGNGrdUUJpn2d4oPvkGN63PddCf8HkRYM8pT9GH9Z4cc/v3gdlJ4EbV2v8t+v1U= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707316517; c=relaxed/simple; bh=gpczSAxiMi16s36upVGETQy331v3qZNDG6hZpWEIo9A=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=F7UbfNSSZ4pnbNsPE6K12cHfhby40oRf40LN7SaQgk/AWx5eKcyuoyIK5scMR0VUIA54nD2WtyXt/XyViH25XciTGKpHlXyWO7MZGGLRFeyvTVYByi2Xh+19wXbY1YR0z5ULtqeUoLYjpc4OQpQuHpNi1g5uNUrwmvQww4mzyxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=fxQvsSpG; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1707316514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GS8oKSLwKnX/1OmCvP477VoPbNUPt8nzRLpvXwaBKqk=; b=fxQvsSpGPjicc4McUOvTraVlNQxZlZBWWf8PQbfLN1oqu0wadrYMrRykLhaLSIrjzM6SHh QnPAJvnTNnc3TUnLLIFcwBHW0t5vfxAOqNnpHmt0jootgEni9qI/HTk31/T5iY9FTklwgv wrtt0dnopoo77jRlXQ4Gm2uyieMvO1U= Received: from mail-yb1-f197.google.com (mail-yb1-f197.google.com [209.85.219.197]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-690-n196qWlKNM-eRpyYqJFgSA-1; Wed, 07 Feb 2024 09:35:13 -0500 X-MC-Unique: n196qWlKNM-eRpyYqJFgSA-1 Received: by mail-yb1-f197.google.com with SMTP id 3f1490d57ef6-dc6cd10fd4aso950792276.1 for ; Wed, 07 Feb 2024 06:35:12 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707316512; x=1707921312; 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=GS8oKSLwKnX/1OmCvP477VoPbNUPt8nzRLpvXwaBKqk=; b=szzF6AJDODhAZ6/AZLweu4bwtvR+1Rg+UxyEDEI8e/iFFbQQG3WhASAclOhIVsoMpQ 7yUlnVTIu7D0qtOf6l8Mm/cR729tL/HIxKG/M6wD0fncoznEceCiGr4K3Jrcmo2da9hi qGkRDEKGBtelavmGSYTF9SJ5Ir6xZ7mjF4z70XlcSUDTYDVFdUlMkoVMSS5nbRFVk6v8 RMG3WEiiyy63dkAfhtPEuxgEerAzHA+GqWbMAfPgQwcXEjGpXYPp85u2K1RXFOFgoI2N ip99J+K26Bm9k3euf5mDsx7dubLdHMP3h+IECZLNsgFadjxb3zIMuIVhi+tdaHpeJUqs UVXQ== X-Forwarded-Encrypted: i=1; AJvYcCVPV+vZkAIVVW6avSNpkLKClotfIpAIlE2eo+0KMIn/paLgvyCcVhYs/wdauvdu830fO9yi4sdViVl045zhJDOVwwJPxye6Z+BECJUY X-Gm-Message-State: AOJu0YypiwnU6MM4lmZ9SZ19gmKhlBJzMlUsIzfiHhtBEzhbfI99CO1G Kbf4eZ4JafuxtpRIMrA/Fl9NSXErTN1bTyDmJOtKa0TKDC7WUzbPQLzwuhN592nFSgLRlFXg3t7 Bzif30/lmhTDqFGo6wOfWU0ttYHFx+HRpXl/uW1Xxe9oqf91ilf8VBFm6fS/+SI7z21gTJYqnGO mIqyENFOcH7VMlTu/Tb+6Lwl99n1ZGDbEZws3x X-Received: by 2002:a25:ac4a:0:b0:dc2:6698:2c7f with SMTP id r10-20020a25ac4a000000b00dc266982c7fmr4891959ybd.33.1707316512043; Wed, 07 Feb 2024 06:35:12 -0800 (PST) X-Received: by 2002:a25:ac4a:0:b0:dc2:6698:2c7f with SMTP id r10-20020a25ac4a000000b00dc266982c7fmr4891893ybd.33.1707316511720; Wed, 07 Feb 2024 06:35:11 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20231122-vfs-eventfd-signal-v2-0-bd549b14ce0c@kernel.org> <20231122-vfs-eventfd-signal-v2-2-bd549b14ce0c@kernel.org> In-Reply-To: <20231122-vfs-eventfd-signal-v2-2-bd549b14ce0c@kernel.org> From: Paolo Bonzini Date: Wed, 7 Feb 2024 15:34:59 +0100 Message-ID: Subject: Re: [PATCH v2 2/4] eventfd: simplify eventfd_signal() To: Christian Brauner Cc: linux-fsdevel@vger.kernel.org, Christoph Hellwig , Jan Kara , Vitaly Kuznetsov , Sean Christopherson , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, David Woodhouse , Paul Durrant , Oded Gabbay , Wu Hao , Tom Rix , Moritz Fischer , Xu Yilun , Zhenyu Wang , Zhi Wang , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , Leon Romanovsky , Jason Gunthorpe , Frederic Barrat , Andrew Donnellan , Arnd Bergmann , Greg Kroah-Hartman , Eric Farman , Matthew Rosato , Halil Pasic , Vineeth Vijayan , Peter Oberparleiter , Heiko Carstens , Vasily Gorbik , Alexander Gordeev , Christian Borntraeger , Sven Schnelle , Tony Krowiak , Jason Herne , Harald Freudenberger , "Michael S. Tsirkin" , Jason Wang , Xuan Zhuo , Diana Craciun , Alex Williamson , Eric Auger , Fei Li , Benjamin LaHaise , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Muchun Song , Kirti Wankhede , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-fpga@vger.kernel.org, intel-gvt-dev@lists.freedesktop.org, intel-gfx@lists.freedesktop.org, linux-rdma@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-usb@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-aio@kvack.org, cgroups@vger.kernel.org, linux-mm@kvack.org, Jens Axboe , Pavel Begunkov , io-uring@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Nov 22, 2023 at 1:49=E2=80=AFPM Christian Brauner wrote: > > Ever since the evenfd type was introduced back in 2007 in commit > e1ad7468c77d ("signal/timer/event: eventfd core") the eventfd_signal() > function only ever passed 1 as a value for @n. There's no point in > keeping that additional argument. > > Signed-off-by: Christian Brauner > --- > arch/x86/kvm/hyperv.c | 2 +- > arch/x86/kvm/xen.c | 2 +- > virt/kvm/eventfd.c | 4 ++-- > 30 files changed, 60 insertions(+), 63 deletions(-) For KVM: Acked-by: Paolo Bonzini