Received: by 10.223.176.5 with SMTP id f5csp747012wra; Wed, 7 Feb 2018 06:57:15 -0800 (PST) X-Google-Smtp-Source: AH8x226nGmW9WMWL51kTHutJc2RuzDcMmx6FF+mHk4EcI7rmyfcKlY5LuwV6REmSnHgHTnUrFD78 X-Received: by 10.99.110.200 with SMTP id j191mr5264365pgc.348.1518015435028; Wed, 07 Feb 2018 06:57:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518015434; cv=none; d=google.com; s=arc-20160816; b=VSF/UA/KAZVhULFgu8lKufr2Op2h9mOlqEzeE0UxosVofyCVJ9kJ4NDQPAAOD9nluG xOcNLV3LeTgBOoffH2LvbaRxpMz0y0SFESd/XMRPnZpBpksdqXu6fJNNSrasphDyzuMV o2DOQE1ZaI8o1FzMytjAm1lM8RbbEqaUQ+t3zKPwX2fzfOJkyq4EjN00ot9mjd+2vI2V bsxxzLGMBPJcMj7UWoDka8hlrqaVnX2rwgJUG0Mx7omQ6OIt1MsSbqVixfnxGJ2fSA6/ ltSs10GuI3AjWJQLF9jbSeJtgi21EPJTTLMuuo42y35hj2qfJA6I+wuEhcOC+llvPmPu 98FQ== 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=qgqYfbVddDPdtRlZqqnC7DxnnOIKlCfMV0JDpMtXI6E=; b=dROC7j2nnqmC0khd3hQGasac03i+GfZuEp6vH1z2eKlNxIz4GBb0JMEF+P/KTpqtx6 8jFYLNSaroJy9b1Mba/s04yRnplfHl2LaB2jOGJSUjWbkqeXESvq33v7RFPTkEdQXvcM bNk148QUxUCVBIOF9WXwShuHEqTxijGV8vB3sRuWEbztTINAPA8N18FxoDvg5+IWS6CR mTYnRteoq1OMaZ2ZAqg/RXVSUPkGXHCQMtnXGt4jLrdHNgaXJnxMx0OtmLEcmSz2bKy+ kgunAhjw/mFUWYjsI2mZ75+JOj0Aa+Btsx7ocnUmqVrU6xGPfmBgE1LNg17sRYbApuFG uMFA== 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 b89si1201294pfc.274.2018.02.07.06.57.00; Wed, 07 Feb 2018 06:57:14 -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 S1754350AbeBGOzv (ORCPT + 99 others); Wed, 7 Feb 2018 09:55:51 -0500 Received: from resqmta-ch2-10v.sys.comcast.net ([69.252.207.42]:47118 "EHLO resqmta-ch2-10v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754065AbeBGOzt (ORCPT ); Wed, 7 Feb 2018 09:55:49 -0500 Received: from resomta-ch2-11v.sys.comcast.net ([69.252.207.107]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id jR8Xebct9C0x5jR8XeKbSH; Wed, 07 Feb 2018 14:55:49 +0000 Received: from gentwo.org ([98.222.162.64]) by resomta-ch2-11v.sys.comcast.net with SMTP id jR8VeDNSPEcHBjR8VepfMO; Wed, 07 Feb 2018 14:55:49 +0000 Received: by gentwo.org (Postfix, from userid 1001) id 2FEAE116165C; Wed, 7 Feb 2018 08:55:47 -0600 (CST) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 2C56211601B2; Wed, 7 Feb 2018 08:55:47 -0600 (CST) Date: Wed, 7 Feb 2018 08:55:47 -0600 (CST) From: Christopher Lameter X-X-Sender: cl@nuc-kabylake To: "Paul E. McKenney" 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() In-Reply-To: <20180207021703.GC3617@linux.vnet.ibm.com> Message-ID: References: <151791170164.5994.8253310844733420079.stgit@localhost.localdomain> <20180207021703.GC3617@linux.vnet.ibm.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: MS4wfE0On2jR36NT55WiWuoVNGEc9NWPqC7qPMdDNPovqpNZO2GHagaUHizVn/pcoWX/tKn49Xaa9fT2tapaIBGcv5OiCwjTDHbWBITmrjPXZPA9aov7ka5Y EhLRG1AHMwwpq1g3786Ft0raVKVlM/WJP9VkO6CMRMoLgkWRRX9txx/9TK8b1XJxSe+kes212Ye+kx4DuekOn+42Lh8QhgRl7lUS0HvLNGW9g202x8pglYxB u5JtbKge3s35GmtTOcMtacsGL5e25JGKFpQtaCvrZZPeR6IIuQiS9HBrMEnXSOwS9l/UkuGX6WlsdDuV2/aLAu2trpgfQzkMGygdOSMcK1rZIdeiVs/dWbGY FZ7lfEAOvTHi7/VC8WDhmMSwUh0VfljKpVZ4u+hCCPs2eImozM3yeONcb+MJYgJSnk3Z6bte4Nm0LOaD85TJOifmeHbSAj+OLcID7Vc2VRtcJ7rSUVsKKQzb 5s95E568JzET7oprvHJthMkuPep8FW9gvD1u/AL7Gr38rtAetC1v0ZL6o9bE+8uTuCPgo+RutLkNAKTUhtcoemSK2eulEktJfl4yrZOgGmQ2sW2mtBRfZhFN yY12TXKoTLb3E2dLrrozP85JixYnJGU/iKQ4xr7Sr8jUiA== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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().