From mboxrd@z Thu Jan 1 00:00:00 1970 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 B1C627E77C 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 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="fxQvsSpG" 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-f199.google.com (mail-yb1-f199.google.com [209.85.219.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-444-JLsqMHc0MpGR-2RN1PGp2A-1; Wed, 07 Feb 2024 09:35:12 -0500 X-MC-Unique: JLsqMHc0MpGR-2RN1PGp2A-1 Received: by mail-yb1-f199.google.com with SMTP id 3f1490d57ef6-dc6cd10fd4aso950797276.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=QdeKEqs3fA6GZ+rs6AeiWFIRl/6NEbUb5oo2jblBNBqPvA2l6eNSdZSrrfACc3c4nR S70FO0U0LSqt2Z7qfMYY/KDEo2GuGINfCFiDedjnr6rH2GptcwtqdsvVoxrpPLyspaIN Ng1/cFr+6z6HuQEjgmGr4qwZWYSlkWrMPAy/CWFvfBsz9fifWqMyBqrI8ujk006krI8v Ftv63MHmgsPCJu+DDB2OQwBlW0ik8oCWONnsLlScmxfZ+Y9CX9XymGXjKGQipz4fVAFq Ozd66c30ajWbP2QXRepex9Wdrp7SG6CCq5IUSORmsthQ0u3W1TzBhQQsN/AIGsFmuNLy /mdw== X-Forwarded-Encrypted: i=1; AJvYcCW/N0lw+9fYCIK8sNsIJrJ/yVl3UJWgFDN2U6bza2AXVOa66Q5ZVeb8mcrpHEKxGzphKchcnCaYmU4vyW/d/VvAc1Y8WXeBE8U= X-Gm-Message-State: AOJu0Yzj1ZvSX2rzHBhWaoTe6EFHmYmqCLSsyuH+GC7Y9wWnFESoTroo OoPWc5L/dBreG4+xc0MpakgntfvHTChb3X+Wq2F2kDjVUmUem67MqdkkR6PO3vaXae254nWx7TN JkJ+WUEmzDKXDrRkN/ku/Al1aHW3V0uof2279uRrXOhrFlVRHjgnz3+tggMONRDUqrdgWiLFE1E Nfknx9yVd3BevvPu90dWcNaSepQ4Qvo10= X-Received: by 2002:a25:ac4a:0:b0:dc2:6698:2c7f with SMTP id r10-20020a25ac4a000000b00dc266982c7fmr4891936ybd.33.1707316512036; Wed, 07 Feb 2024 06:35:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHE++5w1moQLuHaAqcodu9tX5wQSeMmoBwfQu91lEa9262GLOPvEjAZwMad0/0OUSEvws/4fl6Yzjr0KEw6orY= 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: io-uring@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