Received: by 2002:a25:7ec1:0:0:0:0:0 with SMTP id z184csp2931111ybc; Thu, 14 Nov 2019 01:08:51 -0800 (PST) X-Google-Smtp-Source: APXvYqwvV1yqruPITMfocHasNGLWEHJtx1MEgvsNCTaQBWr9P4ysZduWaVOGVEdKmxon5G44NAok X-Received: by 2002:a50:fb14:: with SMTP id d20mr8356496edq.190.1573722531076; Thu, 14 Nov 2019 01:08:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573722531; cv=none; d=google.com; s=arc-20160816; b=tlbnxldiScP/A3l17FOjwurHHOirCoamum1j7tioXYWo35H7Ls1oOi6qi2sMMY0Rlv SoZRbACTK7J9qA8YA8HlMxfh2NntkhJw7ufG8nlh8AL6XGZWoeHtDFWmhYoumvlofZsB 8LD5puXuQV3otiuJ2TXnBYls8eOlQXLBtRVAWkSLQsAI4xhQrz7BVDgHU47Uxi7bkfbE 1OZeVkAnXBhhIxz8RZBKK3G5HI3U3OXqLKOMmu9l9w6ySrr2ERG5CHg2TiaN3KpZkTjV m9qL3tMF4/HR3pWJCtbq25qVKrLsxm/Aog4yiNpNTkRJ/myGnbPyO/ZIcQqEFbfJCi4A UdZQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:message-id:subject:cc:from:to :in-reply-to; bh=ScBj06kR9Fk6SjpXKSVjZ5ngLTCS8ejjZ+J2s/4WDKk=; b=oTOkbXlwh3pVtHcGFUwCMdXMVgWonWQEoVssh58wuiP/zbhEWvHzOVA6EyY+E5ch27 PqQBQB3B17xctglVHxEPmKtV6McpcdPqRz1rB8iQQqYvGELbND3bxARQx2nLpaZQOF3+ KKG7oQCKkErnvQt8MBSYQJW/93En/Zqg0iKH9OQ63v9/s6jF1GUaAw/V3p0a/5yb1EpU LUva7PK0Jkik0TLhsNHlnqZg8tjTNspEji6KSXkAEtspkoMXIsTF49Z2LyI6GS65IqTy 4EXOabjaeo9jI78adw+5QU8TKypRTgkb5rY5SZVUph6rJpT5WoprpvsA7zGoN16Y/a4j m7tA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x6si2950091ejb.400.2019.11.14.01.08.25; Thu, 14 Nov 2019 01:08:51 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726690AbfKNJHn (ORCPT + 99 others); Thu, 14 Nov 2019 04:07:43 -0500 Received: from ozlabs.org ([203.11.71.1]:45759 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbfKNJHl (ORCPT ); Thu, 14 Nov 2019 04:07:41 -0500 Received: by ozlabs.org (Postfix, from userid 1034) id 47DFxQ70shz9s7T; Thu, 14 Nov 2019 20:07:38 +1100 (AEDT) X-powerpc-patch-notification: thanks X-powerpc-patch-commit: c312d14e19bb7ca8214ef661d9a125cd631528cb In-Reply-To: <20190711141818.18044-1-yuehaibing@huawei.com> To: YueHaibing , , , , From: Michael Ellerman Cc: YueHaibing , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH -next] powerpc/powernv/ioda: using kfree_rcu() to simplify the code Message-Id: <47DFxQ70shz9s7T@ozlabs.org> Date: Thu, 14 Nov 2019 20:07:38 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-07-11 at 14:18:18 UTC, YueHaibing wrote: > The callback function of call_rcu() just calls a kfree(), so we > can use kfree_rcu() instead of call_rcu() + callback function. > > Signed-off-by: YueHaibing Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/c312d14e19bb7ca8214ef661d9a125cd631528cb cheers