From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-184.mta0.migadu.com (out-184.mta0.migadu.com [91.218.175.184]) (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 46BBA2C11C6 for ; Tue, 3 Mar 2026 13:40:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.184 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772545259; cv=none; b=fCSOyiTTKxOW89jAK+tpMNHEQgtUxDIecKL9+i/Xn5ka5wum/J9vE2JEL0HQEIFGIOmnr5ieanaInqg+BvpebSAzjvn0aY5A2QMnISgMmLc33eSBaznLqfyygbbE7xGWuuIV/IYrVSjz47oKN+9cj1AR9cu3Y8SsuvGaxYZxIKg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772545259; c=relaxed/simple; bh=+w73iI+sb8/tYZDo+NzaDgkcHZxrIStG2C890hS2K7c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dtmQJZFwpjK3Nkju3iKtw5gx176F/BJaVxJD4NXGtAhWpVsbXTz3BNlbG6mE2a47jHeNle183vWUB+BEd1KjRteNx+pItmzZOSfJUUP+YgrcrHgWx5RjXVmD1CK2iL8hIWSR7tqzSYDa5sKjV+0GfX4hLnuyFZLd43L7K0VeSJM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=QSjZBWHD; arc=none smtp.client-ip=91.218.175.184 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="QSjZBWHD" Date: Tue, 3 Mar 2026 05:40:41 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1772545255; 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=wQDPa2adNHI5FdN0PDtiRE89lLLNLqqz/+7EJZi5CDw=; b=QSjZBWHD3rHz8qq+v1KU4lulaZAbUk84xfHCfDC1j0Bupjbz4HCDx+DuWgeC8nUgdDcwiE rvaWECPx1Nbjh25LgOr9Xpk1x6yKxRd2iwnl9jz4AtJjJGWpfOSbZOl9Ue1GrJ4emiObya yH7+UfFjiXbMbZ6C2x8cnb7GkVXafIo= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Shakeel Butt To: Maninder Singh Cc: mhocko@suse.com, rientjes@google.com, akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/1] mm/oom_kill.c: simpilfy rcu call with guard(rcu) Message-ID: References: <20260303102600.105255-1-maninder1.s@samsung.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20260303102600.105255-1-maninder1.s@samsung.com> X-Migadu-Flow: FLOW_OUT On Tue, Mar 03, 2026 at 03:56:00PM +0530, Maninder Singh wrote: > guard(rcu)() simplifies code readability and there is > no need of extra goto labels. > > Thus replacing rcu_read_lock/unlock with guard(rcu)(). > > Signed-off-by: Maninder Singh Thanks for the patch. Acked-by: Shakeel Butt