Received: by 2002:ab2:784b:0:b0:1fd:adc2:8405 with SMTP id m11csp174119lqp; Sun, 9 Jun 2024 23:27:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU4edcWsk2YWHZt0ilNKNS8e1yolxKqtK0894AZc6t6uxStCMy3gGcgkS+/t4eMK6J/ozxT1LO0iEYeUcbgwVeyrYljLrv6rFrj4c/TWQ== X-Google-Smtp-Source: AGHT+IGApDDPVEF2+Kn+DXoJq7DB3JH3UufwmT+4onTHMpLyYWtWQc9e8YayUQPEVb2usL6vPaSv X-Received: by 2002:a25:d687:0:b0:dfb:5d3:72eb with SMTP id 3f1490d57ef6-dfb05d37b91mr6464718276.55.1718000832060; Sun, 09 Jun 2024 23:27:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718000832; cv=pass; d=google.com; s=arc-20160816; b=gFshXuKpIF9QRTpZL3pxJ1wZyZH6AP3UhJEFJGlS18OBRniR9P02QkyQ1K4chKAboc cTyiE+L3VORStMb1mYcQlVdvLagcHUG6mi7C7qXSRjawsoaS7We770JukOaFrM6Bco3e frZSf21FY6fKRqltNGbTzUvHLjazWnB6In0A1kwo3CdMXlgbEq4cp6nI5xhy8c5lblr5 3SLI1t1fmJ1G0g8D5FkE6O/+NWI6I2JsD360msopmESSP813wU+f+uRCAEkrfwhCZdoY GIrdAeDYEDx5x+hhPGAtem+cDrK3/nXdWxHbPFjw6zK4lfA5VGQhE232WuNoAv71vA5B WVYQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:dkim-signature:dkim-signature:date; bh=TvFu3BRt8q4dgKDxmnRBZhJWGPPVGPSI4HtJtIpA3c0=; fh=9ryi7ul0FQCCGw25eaWvseiKtESwiP6ZgvB/bSXOp5E=; b=ddveeTTdYz9oR18Rz55T7ew4zP7zeH9JNv8zON9WX34hq8q/RBTt9xIcUIAkudHwou XzrfDw7QzgTnw9wi+gbE8H8R8TOHLE7M58PII40/hb9204XGxz2kLmS7vT9IAz3MsbTo n2y3aW45pkyhotqadLCDR0wunEajAmLzzzxkmkTTvZllG53WtAEjlJqdNyJ3nwb5KhzW mYvHfxRU9kdQgwrOudxqSqt6JAk2M5CvShDkqiv7KBHQxplEXA0nfwIoW8mGYSmWL1dv b22n7pOtnadOobOEBowgMjLThGIPm0H6ARN8UOuzBP/DtR3lVP9qzgn3d47eMIRV1SMg bUNQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HztRYOkH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-207736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-4411ea35199si770731cf.385.2024.06.09.23.27.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 23:27:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b=HztRYOkH; dkim=neutral (no key) header.i=@linutronix.de header.s=2020e; arc=pass (i=1 spf=pass spfdomain=linutronix.de dkim=pass dkdomain=linutronix.de dmarc=pass fromdomain=linutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-207736-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207736-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=linutronix.de 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 7CACC1C21372 for ; Mon, 10 Jun 2024 06:27:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AA87918633; Mon, 10 Jun 2024 06:27:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="HztRYOkH"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="aJvD1c/C" Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (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 2F839168C7; Mon, 10 Jun 2024 06:26:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718000820; cv=none; b=bjEX6Orv8Jt2QSpTfj4QC1GDAf7A3q9CV4WQFSAlezw3E9p09TCPVRR19i3FzJyq/FOVV9371I+FXZfQy+9dvntPTWD6LCVsuij1ILYrfGEpAszw5RgmSQ1px7gM4a2PxMdbJM5B4TuQ7ufOeU+A4NInNUUn3XtQAN+OwNtJ5aQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718000820; c=relaxed/simple; bh=qVS4uWCLaKdFK2NC/OAD52q59vFb53l4MTlUH4Z3vqo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i0eJY8HAF50TMuzs4dmBTUvucm8zTgyfgy7jFkkYJeLTtdf0JnjxBMcJtrUFavyVZN1Q4jjTbPkCgGRbOgOjJ96dX6nPEtnmag8gHBv7DPBBPImC2l3MoxDoJuVGqXRHiP86PO+0QjMuS+rsGBj6eOmJsFHrr/vs1SETCyixw+E= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=HztRYOkH; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=aJvD1c/C; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Date: Mon, 10 Jun 2024 08:26:55 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1718000817; 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: in-reply-to:in-reply-to:references:references; bh=TvFu3BRt8q4dgKDxmnRBZhJWGPPVGPSI4HtJtIpA3c0=; b=HztRYOkHZ3LcyEznfFH+tiCGe1DQY+hFOZoI/b0WYNOjNQ4AbE7M4m29Cov7Bjp0+d/+bk jGQTSlKukskzIp1zpw1pmmYV/f6WmkKru/4uRz/42CLn40JYZPAH0aFv7eikr+dKG0//DR 1rpcZ5MJGXF+j6GC3s/v9D814bfaJGtK8eZar/kP1dTrx1Wkm1DxctVbII2FIvEeuHTOW9 sIq0p38efdWiz4dGY10HDfSSIYPcN8wyPwnHDzuZp53qIskM8Sq0GwivfN2DVam79IIbfn jNh9lL2GcBr9M+gcDYjgT4pt76TnI9L4G1/dEnF5oX/4T2sLRV1XD2jybmpPNA== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1718000817; 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: in-reply-to:in-reply-to:references:references; bh=TvFu3BRt8q4dgKDxmnRBZhJWGPPVGPSI4HtJtIpA3c0=; b=aJvD1c/CnAnecMXRiVD5hDapt+SkY1K1UXfb8uHhGOI0czwIU9DYvWKOYxld/ovVIsDgyd X16LvRd+VcHDHCBQ== From: Sebastian Andrzej Siewior To: Yajun Deng Cc: davem@davemloft.net, edumazet@google.com, kuba@kernel.org, pabeni@redhat.com, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] net: dev: Simplify the conditional of backlog lock functions Message-ID: <20240610062655.Ow6--EAe@linutronix.de> References: <20240609072022.2997-1-yajun.deng@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20240609072022.2997-1-yajun.deng@linux.dev> On 2024-06-09 15:20:22 [+0800], Yajun Deng wrote: > The use_backlog_threads() contains the conditional of PREEMPT_RT, so we > don't need to add PREEMPT_RT in the backlog lock. > > Remove the conditional of PREEMPT_RT in the backlog lock. This is part of https://lore.kernel.org/all/20240607070427.1379327-10-bigeasy@linutronix.de/ > Signed-off-by: Yajun Deng Sebastian