Received: by 10.223.176.5 with SMTP id f5csp914327wra; Wed, 7 Feb 2018 09:31:09 -0800 (PST) X-Google-Smtp-Source: AH8x226KljHj2qVSra37xBi0ydOsHdDzpc5hhTccxZC0H7bv0KRhGc4MCAgpmkSwUm1scDQz+fxL X-Received: by 2002:a17:902:b7c3:: with SMTP id v3-v6mr6786059plz.307.1518024669864; Wed, 07 Feb 2018 09:31:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518024669; cv=none; d=google.com; s=arc-20160816; b=rmrCu6bCPvNoZ+eXScz+//DRNDyn6gY6maVx4flrcQbTdCP2Wg+sfZACs8PSitUsu0 wU87DChmcN3T3hu+WsclmFBViXPVP9p87HAdXoQ4c8H26diEWRIvYvVu766qdKM6rbQg 5lr9UnrtNofnj0rpBNQsJQ2WuVN8dQgegG1ZB2OaU7LZlKOyZ840CSg5sOx32SYztnT7 hBkuJfgF9DQ3SotVc0xU/ku8YGLvC0Vdqv5Sd0JzT0MOb0odeT4ZtVT5t9QpDoU9OpoE gOc4IcNbAPTYccG1Kj4bZqE/DGLQXOzQHJiPwVHqn/3fQ9paBehNL3nG6JydwZINIpvy SRhw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=IetPJ//fhbXDJPdmb+/ITsvtoOwoQU9bFlCBMVT5FPc=; b=YZ8U6dBza/GuYCaOyg5vLH9k35+pKCo9QFjFqXy4Vq5WS/BRb2kj80AFPm2psCQxsk OeKf1GrhfMrW2rfbsPEhu6gC0qXUyNdgvc110CE6pRa8j3hPJFIUUM6HspAMf2ekbL0y MsoxITeUzIA3EFNteYzrS/g3U393Yc+gZxdavrBCQTL0YVCLfQV2pL2lgo+bpeqoVEeZ LXg1pWkHiQqonnHdG24xHjvccqkiPu+W4Fbfba8UIcSxJYRFGHkP/T7d4ryCjFBmB0U9 cQOQbhlAPUyuOSFClw0Afcc/ffeS/GhOoyVoVIa9AB4iVpPnNZdw4cgV8A3Vpql0GGuL +FAw== 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 i3-v6si1376022pli.157.2018.02.07.09.30.55; Wed, 07 Feb 2018 09:31:09 -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 S1754887AbeBGR3Q (ORCPT + 99 others); Wed, 7 Feb 2018 12:29:16 -0500 Received: from mail.kernel.org ([198.145.29.99]:43224 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754693AbeBGR3O (ORCPT ); Wed, 7 Feb 2018 12:29:14 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B59422172C; Wed, 7 Feb 2018 17:29:12 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B59422172C Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Wed, 7 Feb 2018 12:29:10 -0500 From: Steven Rostedt To: Matthew Wilcox Cc: Christopher Lameter , "Paul E. McKenney" , Kirill Tkhai , josh@joshtriplett.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() Message-ID: <20180207122910.1a91a48e@gandalf.local.home> In-Reply-To: <20180207171936.GA12446@bombadil.infradead.org> References: <151791170164.5994.8253310844733420079.stgit@localhost.localdomain> <20180207021703.GC3617@linux.vnet.ibm.com> <20180207042334.GA16175@bombadil.infradead.org> <20180207120949.62fa815f@gandalf.local.home> <20180207171936.GA12446@bombadil.infradead.org> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 7 Feb 2018 09:19:36 -0800 Matthew Wilcox wrote: > > Please no, I hate subtle internal decisions like this. It makes > > debugging much more difficult, when allocating dynamic sized variables. > > When something works at one size but not the other. > > You know we already have kvmalloc()? Yes, and the name suggests exactly what it does. It has both "k" and "v" which tells me that if I use it it could be one or the other. But a generic "malloc" or "free" that does things differently depending on the size is a different story. -- Steve