Received: by 10.213.65.68 with SMTP id h4csp425078imn; Wed, 4 Apr 2018 00:30:38 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+9L1YmmQzIRvvsLBpPX3NlSOrqWzFN6U81p4K2lfYT12QEDx2yJasEckVvW2B2dnfLx2YZ X-Received: by 10.99.101.199 with SMTP id z190mr1093980pgb.385.1522827038166; Wed, 04 Apr 2018 00:30:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522827038; cv=none; d=google.com; s=arc-20160816; b=vQKTW+r8XhCpYDbZlIAs80fIYjj+zQh62+uRWPAvZ8CdhQtyPtayJLgh/jVtuawI7V 9iV5Jx3r6z7c86B82kf1DKdDm6WgVWnF0aXLmKmoC0acVi9jZmT+jh/WhMdMtWsyI94L 610QaeqbKlCTpY6vCS156UFJ+qAIJ9RMhKEONe4sZ4Ewb24IzjasS1213nA5WvCEtG7u ySfg9xlv8ttYSjoZwpgADzMg/WUzHvK3Nm1hOQgKZy1rdWBpeenkdkhQH2i05KboHq8W bGrdjuelYw9X5CmfMzfSEJT5ZmYCDqb3UHRBTSRYbUTHXqPhuESzsE3yBN23oiLNRJSh yGsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature :arc-authentication-results; bh=BZ/qWoGbK+fLFyKWX3risOwGioL28M+ck7iojJhtPBk=; b=FgIMhaJcx0AbE52acV6H8nVwDVBFFtrTn6NHnb5SmgUnEnO7QcpXxl004yNyy0Cynb oD9j73M51ksTG9qCGB1H3m/zWyz4YB7JxEaD5g6F2MCZZX5lIQBJUYwqLdTzDzeaM+h5 fvMAdRsWIbG0D/WJOpTtlNyA4vZkGO/24wZJz1A753oHdEMnTu24CwJIk/wShTM2UtWh W+M3lifTb/6mx1IliQ6UgcOY+Qtw4h2tb6qPo630Y+/l9LqrAMEc96ycgipCEtbPo3GJ wrqdL8jqxHl+NJRyYZ+1VtA0J56fNSI+Fbvm2Gte76Pe2M0e9C3sFgpf0A6UDiw1r66Q YBdg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=SG5mG2JS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o188si3189777pga.132.2018.04.04.00.30.23; Wed, 04 Apr 2018 00:30:38 -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; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=SG5mG2JS; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751233AbeDDH3S (ORCPT + 99 others); Wed, 4 Apr 2018 03:29:18 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:50474 "EHLO userp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750842AbeDDH3R (ORCPT ); Wed, 4 Apr 2018 03:29:17 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w347HonX065443; Wed, 4 Apr 2018 07:28:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=BZ/qWoGbK+fLFyKWX3risOwGioL28M+ck7iojJhtPBk=; b=SG5mG2JSkQACZX98dDaJPJ0zrCLJO/7P/+9aKLH6C5dO9cYIEGx+YViRFUp60YbFayX5 00O+1qgm0suIZUpfT4NZFn4E39/28dezk/OZUSVG3g40qU5w/Z4NnOdNYJHuMkA9/JSI HQ7/XUQc/pgto88zd4Y1EIx5+AQfnswOQpGgjQnQSdQztlf4Z7WCz+zboBt4MphMlj/o hdPSVqozVjQw5CwCel6PQnOQoS6Hg+BA1z+IVMocnW+1ixg3O/r5ZE/Zqj5yVomOuda4 BzthzjW/zUIs/A62bZNZ/YgEs0geL829ElQ7GK1B5GqgmYWRs3uDSoosQpHq4UzaEKcv +Q== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2h4t6pg14x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 04 Apr 2018 07:28:56 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w347StN9028551 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 4 Apr 2018 07:28:56 GMT Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w347SsWe018299; Wed, 4 Apr 2018 07:28:54 GMT Received: from [192.168.1.34] (/67.188.214.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Wed, 04 Apr 2018 00:28:54 -0700 Subject: Re: [PATCH 2/2] kfree_rcu() should use kfree_bulk() interface To: Christopher Lameter Cc: linux-kernel@vger.kernel.org, paulmck@linux.vnet.ibm.com, joe@perches.com, willy@infradead.org, brouer@redhat.com, linux-mm@kvack.org References: <1522647064-27167-1-git-send-email-rao.shoaib@oracle.com> <1522647064-27167-3-git-send-email-rao.shoaib@oracle.com> From: Rao Shoaib Message-ID: Date: Wed, 4 Apr 2018 00:28:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8852 signatures=668697 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=2 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=808 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1804040075 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 04/02/2018 10:20 AM, Christopher Lameter wrote: > 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() Sorry I do not understand your comment. The patch is using kfree_bulk() which is an inline function. Shoaib