Received: by 10.213.65.68 with SMTP id h4csp2598319imn; Mon, 2 Apr 2018 10:22:46 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+Qmbm4CvWucHjW7n+7fSUkuUvwpwYmoQ5mkxPkDBRJK7OCbCCbp2F10I2VIp1dy6HG2/MK X-Received: by 10.98.61.80 with SMTP id k77mr8073928pfa.2.1522689766759; Mon, 02 Apr 2018 10:22:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522689766; cv=none; d=google.com; s=arc-20160816; b=Kir0N2ICZkrhwkw1fztDxJ7gIs2X3dQlMFkA7EoHrNJnIeFQoYypf+zMT4ZcKW5Rwe bBZXE0yWx7D3RjC0SULGyex/nPHMX7rxh9JdslcfMGJt7zdwn+SUs0nuGWlMnqjItaCy bEu5c9z1oSm35upwr/70pEZIMP4Yh2EA8M+L1Jdwmu84lfM+qQn7KEsmuIbNP1qGMwjS hSy9+fYAqRt2/mQDLVNdjyjrPf7IITHXuCsssVhq0HGguhoanGSFn0uuYb2IJRfkc8+E vcwMgaz6BShIdbzVPTQ2PdMnkAqBmmi8Fi6d28FWc4aeCFA7cklRgGUnkd7ivreJ1aAU yBFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=8dGIy9jxJlPxSw8clwGLbw8Z6+9IdrIJ6oP6SjXoJaM=; b=TwGrErXEraxDf91OSC/pOs+ZTUE45uiG4rZ0Q1J3EGbzKKkztA+7ayN5O6wUEgVxks LMzQ9uy+VI7o4zhaHzUrfQUZ9xmAoelL/yQ0Px6rHPJuPGLvuiGg2SNXbei7BJK7Mxqy 5Y08+S5pvYOG3grHcLzUkOy8aZTw8zYHhw5P8aA5LxX1r4EgTN+BPzZgT8AOO+hPaL2m bTcFPhoLFpky8rti+t9OiofRXeKpGoglwFme3kLVVTKlBHjAltF9fV/7I5sjOKhcZLkP iZo8Pb1AtvLIJiez0MUiImh0a7QmjxS+H0sNpPvPfNyJBzar8YOTbj4BpYkrWbXV3zJi 5C8g== 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 b34-v6si722891pld.249.2018.04.02.10.22.32; Mon, 02 Apr 2018 10:22:46 -0700 (PDT) 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 S1753196AbeDBRUy (ORCPT + 99 others); Mon, 2 Apr 2018 13:20:54 -0400 Received: from resqmta-ch2-08v.sys.comcast.net ([69.252.207.40]:40602 "EHLO resqmta-ch2-08v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753063AbeDBRUx (ORCPT ); Mon, 2 Apr 2018 13:20:53 -0400 Received: from resomta-ch2-06v.sys.comcast.net ([69.252.207.102]) by resqmta-ch2-08v.sys.comcast.net with ESMTP id 335Mfeo27Yh55338WfCcme; Mon, 02 Apr 2018 17:20:52 +0000 Received: from gentwo.org ([98.222.162.64]) by resomta-ch2-06v.sys.comcast.net with SMTP id 338Vffqb7WoE0338WfR0lo; Mon, 02 Apr 2018 17:20:52 +0000 Received: by gentwo.org (Postfix, from userid 1001) id 8A6F211616E7; Mon, 2 Apr 2018 12:20:51 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 88A6E11616E5; Mon, 2 Apr 2018 12:20:51 -0500 (CDT) Date: Mon, 2 Apr 2018 12:20:51 -0500 (CDT) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: Rao Shoaib cc: linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com, joe@perches.com, willy@infradead.org, brouer@redhat.com, linux-mm@kvack.org Subject: Re: [PATCH 2/2] kfree_rcu() should use kfree_bulk() interface In-Reply-To: <1522647064-27167-3-git-send-email-rao.shoaib@oracle.com> Message-ID: References: <1522647064-27167-1-git-send-email-rao.shoaib@oracle.com> <1522647064-27167-3-git-send-email-rao.shoaib@oracle.com> User-Agent: Alpine 2.20 (DEB 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-CMAE-Envelope: MS4wfFMFPZU1tbXEQcmT/IbsogkiDjX6HY5U1zoSmu5K+uRxNeRLfPaPTVmUdMpoW4NhldkNL4m3lm4VDdXlrDHLXo/OA31CJQl/GVwMyhAceAsFPK6NkMXh vyewVkGGXbWFp30lAk+AAy4StmFx8IrdoBHPtJs9hAfKq7CIhEJ0jkQbzj2jmjbKGe8qrksob4wWuh28zqrs6oVZNDZvT3iVZRjekTF0MGik2FFjla1evVW8 wygVov0Z00nOlGB+UtbFsXeuEJpR792IUC+ju3vpuXI04eBo9DypgV0I8E8YmYGX06X8VJWoOBZGo15r69VUwM6qAMEr+4463et8C/NpzJWt2gZIX/rNEy1A +yTfBS+b Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, 1 Apr 2018, rao.shoaib@oracle.com wrote: > kfree_rcu() should use the new kfree_bulk() interface for freeing > rcu structures as it is more efficient. It would be even better if this approach could also use kmem_cache_free_bulk() or kfree_bulk()