Received: by 10.223.176.5 with SMTP id f5csp1440858wra; Wed, 7 Feb 2018 20:11:08 -0800 (PST) X-Google-Smtp-Source: AH8x227HwY1DRR9O+2NW7ShiKcnLrXYICHrcSOygd8pkRGO4KS7F7iWwhABs+NFHH4fnWevPIyaE X-Received: by 10.101.69.67 with SMTP id x3mr6813279pgr.69.1518063068044; Wed, 07 Feb 2018 20:11:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518063068; cv=none; d=google.com; s=arc-20160816; b=EA7qIUNp+IpAuNtVtc1VzPpuJaA1d0HKzrjvcVQ/rRSwUPgXt990VmVvQQdwBdHCuV 5n9W0H5l0jdCXy0aNxGuAOiF4JQuI8aQnZWw2RrH2dxspQxiBeBpg9/O/K3kO1GmSRua ACPuZka/Uop9nnSUu1RUOrznWnrpXQtppQgLUhNPdoPnM7JEp3qRR+e7B43hkRM4wyUy v9Q68GF9ZbIpSt0ModkoTqMy89SIgD4svhKoIdvQcFZrG4PbSUQOvuy8NLvWc3VMaR+c oLQ2dhyhO1TcW7m1ioWd7SGA925WeordAuA05ScdLVmkukJOGexrVEuTJ0FfPaN+bLRG dHTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=je70qHHl9mipOCxsZIvn0o1iW5I4cDYq5fy4wskNdYU=; b=x5vx/R0hNynjAwHGP0DqU1w0RRFPTlwyVBj1EsOUrhjJZKKwhgPYRE+VVn/IGC+yYj ++6FEyvORDROj6kfZd1V1K/o0fPpyz91wfEuM4i7T/bIWhXZnay5NrfZprA22HPYjcPg +PaSJlqpxPyIP3kRrtK/t0bQIj7YtOBViAuB9s/+Y3yvbd2yK9w8QFB5pIp+W0Po1Qb+ LQF49AEjnu/lBmF83QtJZ34o+J41YPj0/As2n4/7L6BqHXv7flSBbS+tZ50adLC+TQmA L93X804porAIW1KoVULRt19vw5QFmVhqgF4OpHdHpYv6IcKre4J68c/8jyRrwJz4YnYf cx3w== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d8si1839197pgc.583.2018.02.07.20.10.53; Wed, 07 Feb 2018 20:11:07 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752037AbeBHEJ1 (ORCPT + 99 others); Wed, 7 Feb 2018 23:09:27 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:38492 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751153AbeBHEJ0 (ORCPT ); Wed, 7 Feb 2018 23:09:26 -0500 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1849L3T051689 for ; Wed, 7 Feb 2018 23:09:25 -0500 Received: from e13.ny.us.ibm.com (e13.ny.us.ibm.com [129.33.205.203]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g0a3gt97k-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 07 Feb 2018 23:09:25 -0500 Received: from localhost by e13.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 7 Feb 2018 23:09:24 -0500 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e13.ny.us.ibm.com (146.89.104.200) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Wed, 7 Feb 2018 23:09:18 -0500 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1849Hxl49676502; Thu, 8 Feb 2018 04:09:17 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0A882B204D; Wed, 7 Feb 2018 23:06:13 -0500 (EST) Received: from paulmck-ThinkPad-W541 (unknown [9.124.31.48]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id BFE44B2046; Wed, 7 Feb 2018 23:06:12 -0500 (EST) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id D3DEB16C2CF1; Wed, 7 Feb 2018 20:09:29 -0800 (PST) Date: Wed, 7 Feb 2018 20:09:29 -0800 From: "Paul E. McKenney" To: Christopher Lameter Cc: Kirill Tkhai , josh@joshtriplett.org, rostedt@goodmis.org, mathieu.desnoyers@efficios.com, jiangshanlai@gmail.com, mingo@redhat.com, penberg@kernel.org, rientjes@google.com, iamjoonsoo.kim@lge.com, akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, brouer@redhat.com, rao.shoaib@oracle.com Subject: Re: [PATCH 0/2] rcu: Transform kfree_rcu() into kvfree_rcu() Reply-To: paulmck@linux.vnet.ibm.com References: <151791170164.5994.8253310844733420079.stgit@localhost.localdomain> <20180207021703.GC3617@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18020804-0008-0000-0000-000002CE9021 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008494; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000249; SDB=6.00986543; UDB=6.00500676; IPR=6.00765907; BA=6.00005819; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00019434; XFM=3.00000015; UTC=2018-02-08 04:09:22 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020804-0009-0000-0000-0000382FFFD5 Message-Id: <20180208040929.GQ3617@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-08_01:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802080036 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 07, 2018 at 08:55:47AM -0600, Christopher Lameter wrote: > On Tue, 6 Feb 2018, Paul E. McKenney wrote: > > > So it is OK to kvmalloc() something and pass it to either kfree() or > > kvfree(), and it had better be OK to kvmalloc() something and pass it > > to kvfree(). > > kvfree() is fine but not kfree(). Ah, even more fun, then! ;-) Thanx, Paul