From nobody Fri Apr 3 22:30:19 2026 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 7CFB314AD0D for ; Sun, 22 Mar 2026 15:20:05 +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=1774192806; cv=none; b=JJ0TG7tVbgdmA+Kr44vGuX3nyeRR/pBeBbBLpg5bDdE+EGL5IhiwkNqFTWM2z4F3SoMzrbHz8NjrLJh0wd/pcOJdTSZsSMcX7okyQ2wxIqV5V8zl3fR9N8l+5nNu3x7tImyWuxO+mfd+uleKmbrmWek+cpbVeX/OmERn0UMRc14= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774192806; c=relaxed/simple; bh=sDI5hDRT1+jQlErqUFqMpuTR/4PxFYPq8yR+Y6aE5sQ=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=MxftIUIi07uU3WuuUcfR9B7PtP2FAeYwa1gY7BC7CXYmif84QBJEpPQ2aySgUjgxioHN9bsRxLv3oJpmmp3dy8t/QqFRlULx3TgsrY+BuuGJwFGRod7nmFDbEIUxFwyA0j+25UwZgUPCoAVNXVIZe2pKUpXqzwuslglJWXdBtJM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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=By58hB5q; arc=none smtp.client-ip=170.10.133.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine 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="By58hB5q" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1774192804; 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; bh=ktqnGiygEdUKwKFItLK7/77zmLRE9lzER2VtFlRvHu4=; b=By58hB5q9lweK2cp7ZkhNwnho7ck+WmzLl8G+R/0dlSxKudT4x4s3Cd3CRv8+VXLIkoLtO dLd7Ifpx/J5qSX3/uhtnlId0cdoFlCRJsnnGcXVegWgWDCVueiGVeqjsrXFQSOm/CYIsGY woebAgeXi7HmcAquQ+jZHE/8ssu5vOg= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-688-ushs0bMQOBO4wWVnmPMzJw-1; Sun, 22 Mar 2026 11:20:00 -0400 X-MC-Unique: ushs0bMQOBO4wWVnmPMzJw-1 X-Mimecast-MFC-AGG-ID: ushs0bMQOBO4wWVnmPMzJw_1774192800 Received: from mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 17BA21800365 for ; Sun, 22 Mar 2026 15:20:00 +0000 (UTC) Received: from fedora (unknown [10.44.32.25]) by mx-prod-int-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 4E0B0180075B; Sun, 22 Mar 2026 15:19:57 +0000 (UTC) Received: by fedora (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Sun, 22 Mar 2026 16:19:59 +0100 (CET) Date: Sun, 22 Mar 2026 16:19:55 +0100 From: Oleg Nesterov To: "Michael S. Tsirkin" , Jason Wang , Eugenio =?iso-8859-1?Q?P=E9rez?= Cc: linux-kernel@vger.kernel.org Subject: [PATCH] vhost_task_create: kill unnecessary .exit_signal initialization Message-ID: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Disposition: inline X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.93 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" The only reason for this janitorial change is that this initialization adds unnecessary noise to "git grep exit_signal". args.exit_signal has no effect with CLONE_THREAD, not to mention it is zero-initialized by the compiler anyway. Signed-off-by: Oleg Nesterov Acked-by: Jason Wang --- kernel/vhost_task.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/vhost_task.c b/kernel/vhost_task.c index 3f1ed7ef0582..3717885a5992 100644 --- a/kernel/vhost_task.c +++ b/kernel/vhost_task.c @@ -123,7 +123,6 @@ struct vhost_task *vhost_task_create(bool (*fn)(void *), struct kernel_clone_args args =3D { .flags =3D CLONE_FS | CLONE_UNTRACED | CLONE_VM | CLONE_THREAD | CLONE_SIGHAND, - .exit_signal =3D 0, .fn =3D vhost_task_fn, .name =3D name, .user_worker =3D 1, --=20 2.52.0