Received: by 2002:ab2:68c1:0:b0:1fd:9a81:d0e4 with SMTP id e1csp442325lqp; Sun, 9 Jun 2024 03:23:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWGHFJFMtvWML31IxxVTB1zkS4Js1vZAOSAaP7teQ7tITWAsMjFUW5TmTKEurnZdVEBTI6yjxiiIWWDIYYGEfzjJ/esMPYGGHY4Vf9XwQ== X-Google-Smtp-Source: AGHT+IGoI6M4901UdKwU1U6lRBpSy/v7cTwzv7nM2xjV4xVFRQ+h8iYy0WauK/HMEETddFeai4eA X-Received: by 2002:a05:620a:2a0b:b0:795:e635:68d6 with SMTP id af79cd13be357-795e6356a61mr18153885a.3.1717928591951; Sun, 09 Jun 2024 03:23:11 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717928591; cv=pass; d=google.com; s=arc-20160816; b=vKdn+E0aJZoyXFu6s0ksDRThfPPgwIG15UflZmD/7uBj82yU0Ih4XeNszuTYk+HDGp dxmJj00tzXYpgCne6HFtzE1Xa0G/hMnnVcfuFJdKEwpwV9COmHX90Ef8/3IVn3Vn6L4C VIAVOVCul3EFTgQaEKQR20jo8tzANPdi1eBMEPyiP1x14FOnDC6NJfSca8rujWQJz7Vk U86hh13JFRG73ZTvRhM45UNFIwDiNeD5aL3Tpbv44P5T+07/hCF+p6LFOcaI7POfEVwt C5u1YBID5Zc6wnFWpuBQSVn9+I63MW4TMfJDXTJT0Hw4BhwBMr7PvNyddZb89ZXpahUf uwqg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=CIh4lH8bQWGJqNihyQij8olrXP+SesotSW7Pq/JkSlw=; fh=PEytofMrQSNgwfQyZH0K3Zo2gAEOAvUBHWgX4xY7dwc=; b=YYzIh+y+fbeTpjGnuQaCebJUFNSfSCfRPJ6aBSeOe1eWsvR3klEURyWi01pF4a2EkQ fRfGojvPsOAqXUpGvG/orYbVZnIPuQQjDisVZc19rj61ROKeGWypprYAYG4/cfOgEn7S kg0eW8MqZaRBa71BUHTxrZEZnf7f5R2c7MYzWfMYfUOmt9vo/+YXrl62Ai+7mtsvdtHk H84lTsWlm9TnzjAFl25Z5XheSWfd3OTLUCmegqNSj4cO/Uz9TkG1kzUeCO7e9CElE32+ 0ROOT9/DI/pr68loCISYETHpvLoQGUp3f3972F5bywK0G7/9Q2QkjMO6fhKvdHvjQldd hhrw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@blackwall-org.20230601.gappssmtp.com header.s=20230601 header.b=gt8JVmkV; arc=pass (i=1 dkim=pass dkdomain=blackwall-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207299-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-79533386968si446896685a.696.2024.06.09.03.23.11 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 09 Jun 2024 03:23:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-207299-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=@blackwall-org.20230601.gappssmtp.com header.s=20230601 header.b=gt8JVmkV; arc=pass (i=1 dkim=pass dkdomain=blackwall-org.20230601.gappssmtp.com); spf=pass (google.com: domain of linux-kernel+bounces-207299-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-207299-linux.lists.archive=gmail.com@vger.kernel.org" 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 983801C20AFA for ; Sun, 9 Jun 2024 09:05:23 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 632C520323; Sun, 9 Jun 2024 09:05:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=blackwall-org.20230601.gappssmtp.com header.i=@blackwall-org.20230601.gappssmtp.com header.b="gt8JVmkV" Received: from mail-ej1-f43.google.com (mail-ej1-f43.google.com [209.85.218.43]) (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 67C7120310 for ; Sun, 9 Jun 2024 09:05:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.43 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717923902; cv=none; b=gjxlcgvFD7emv6Rs/wpsJG7fcFN1ZaQZplmMbDaHrVSJt/NROdrb/FuxOpmYB49Okn3fFN0vqd3Qg4ov4P3LqDjCPHR6jwycVZ+S36FZhJquk7qUqX54waubp0jR2tGXoZ2mGbpnl3Ko8oAKJ6moG/kpmyDGPUJxmsjlWTIlMqk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717923902; c=relaxed/simple; bh=Si71bFQFrRd4fbeR2nUXGk/jsEUgyn+WHHa500mVRsg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=asyPxg0YRIaTFkFDlXKUAIzDWZJqtKJ5ltcro124tz4lCE2DYHGrmdfRHl4hVoOclJCRvbx5L3olDumtONQI+nuSW9u5iYSTgkU3H7Ck9KSBOlbBdc75Z9FgeXEJaMwn4raGLgaOR00hcSsg+UrxvJuaEq9Znd293eeWMwWCQso= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org; spf=none smtp.mailfrom=blackwall.org; dkim=pass (2048-bit key) header.d=blackwall-org.20230601.gappssmtp.com header.i=@blackwall-org.20230601.gappssmtp.com header.b=gt8JVmkV; arc=none smtp.client-ip=209.85.218.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=blackwall.org Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=blackwall.org Received: by mail-ej1-f43.google.com with SMTP id a640c23a62f3a-a6f1c4800easo15023566b.3 for ; Sun, 09 Jun 2024 02:05:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=blackwall-org.20230601.gappssmtp.com; s=20230601; t=1717923899; x=1718528699; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=CIh4lH8bQWGJqNihyQij8olrXP+SesotSW7Pq/JkSlw=; b=gt8JVmkVmzM7jA2jbnbS/BOMoqukT+T6ETdMRCDk60sDNkKAUTotS0F9LmBLW5iMTQ OB+XQ3yx+WM8xl1OCihzGJlX000NgQlpNaJ5puvb/oskLrEvV6zieLY1WAwWRa913pYO B+wCNb2aLUXSxn43EPmItmF1Px1emI+N/nJT10r49MSDKMPS07yvQAQ1tDG+3YAMKGv5 jfWUcMt9M3zAkirQSOh3lJDANxSuM53+qHxfIWIECAKYntCEmw8qfKFOpLT5W9dtHfWF p7OalkfdrTCWMKGxYNg7gCffB5u7+ns50eqDjpxckQkqjJSBlpcJhv/otwyTEI3shgUz FzDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717923899; x=1718528699; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=CIh4lH8bQWGJqNihyQij8olrXP+SesotSW7Pq/JkSlw=; b=RbXPU9YthbvDnrS5vNqf/Lmm7dGPeexkf9O3B6QzWl8koLFpu7FkzWv6uT7OQ4Y071 ad3tPs3hzCZ2NQKCBV9lSKqBh4YUN9FvuLRlBswVU42Hgrbn6LyLs1ALCuG5Fiko7VVC Eblximj5cnCv05REVhUh8jwjhvSMvYCAye29G0ghZ1JwvdtXSG1cQMhGzpvv5YUydAfM ieww4oRKE9KA+QDth+FrEs03frMKO7e4tV2JP/DjUm3tTV3GtI5UT/AgyYJTSuffk1M0 PoNHoI+KAha3C0vnlUK+AvCx+ubDy7jbyH2oXyXyUeVPo1KGXj72QZiLD98gujUwLm3m 4UNg== X-Forwarded-Encrypted: i=1; AJvYcCViA3pmwJkGe1W1jSpbTTHqmPFyIEGXavHMxM27T7I2iKOxTvVKJFxAFV+Z35Fs3dqfVBaIVHSWBO7/MI61IwXAfIkEaBM3aYe1bUnx X-Gm-Message-State: AOJu0YyRTu3eftj1VqM2teUbV72osbu1EsklFSFaspJ3Npi5u9zeDjU5 7JRbccn8Alrjx9vs26OXLD9LUbNzsucNcySqgmMMBnOMaodFPLvD30PIB3zWr0c= X-Received: by 2002:a17:906:3285:b0:a68:2f99:a3da with SMTP id a640c23a62f3a-a6cd5612575mr431690766b.16.1717923898631; Sun, 09 Jun 2024 02:04:58 -0700 (PDT) Received: from [192.168.1.128] ([62.205.150.185]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6ef9100096sm247145366b.97.2024.06.09.02.04.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 09 Jun 2024 02:04:58 -0700 (PDT) Message-ID: Date: Sun, 9 Jun 2024 12:04:53 +0300 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 07/14] net: bridge: replace call_rcu by kfree_rcu for simple kmem_cache_free callback To: Julia Lawall , Roopa Prabhu Cc: kernel-janitors@vger.kernel.org, "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , bridge@lists.linux.dev, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, "Paul E . McKenney" , Vlastimil Babka References: <20240609082726.32742-1-Julia.Lawall@inria.fr> <20240609082726.32742-8-Julia.Lawall@inria.fr> Content-Language: en-US From: Nikolay Aleksandrov In-Reply-To: <20240609082726.32742-8-Julia.Lawall@inria.fr> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 6/9/24 11:27, Julia Lawall wrote: > Since SLOB was removed, it is not necessary to use call_rcu > when the callback only performs kmem_cache_free. Use > kfree_rcu() directly. > > The changes were done using the following Coccinelle semantic patch. > This semantic patch is designed to ignore cases where the callback > function is used in another way. > [snip] > > Signed-off-by: Julia Lawall > Reviewed-by: Paul E. McKenney > Reviewed-by: Vlastimil Babka > > --- > net/bridge/br_fdb.c | 9 +-------- > 1 file changed, 1 insertion(+), 8 deletions(-) > Thanks, Acked-by: Nikolay Aleksandrov