Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp3588956ybe; Sun, 15 Sep 2019 19:32:49 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWIO+0gR26pgoSx9OhFeo2c6H1wuNSdaW5MwcIMq8WISxdH20OJ8ei8yQnIs7EB0F8OoFZ X-Received: by 2002:aa7:dcc3:: with SMTP id w3mr59922579edu.202.1568601169645; Sun, 15 Sep 2019 19:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568601169; cv=none; d=google.com; s=arc-20160816; b=VHIcvhu0diT4faNwqci5D0JhYznOXi6PSJ4qa2iI9UEa5WhmH2K19XOrck4g7v0lL3 2W4LhRH1Ce1ImG4C2JCPnycr94ot+yVnGex8MuXmaHIt846C8PDxs6KCL82Vrb5ie7fO IIyZ17vyR0A0adaACUhT8/8u5gzA4BQKo6fbET3LEDJJ7DZYqNTgBRwkdLIYqonCq/pP hZMDpYStye6T9DgXM9jyWro4LzxtnVBjBhi1X6WebtLxO0KqCkS/9IM6k1BlRXR3RCnH jSYgJRFJ5BLrPIOxeWen0k+BwMaEofpwnPz7m9L/Sz6kd2I6lroRsqQPC6KhEmtFVmfj KKTA== 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:dkim-signature; bh=cRhIay7rP7qO7uPvAr8A+Remo+kZoigIWCA9uWQOOak=; b=zldbwD6DcdBk31JZPqdl1rsT8iDyOAxG6OECTP3HK9/3vC2g27VhLwBe14WgjgwLRs nXk59G61hd9jBhoDc1FPDBF1YALRFB5uejWAVokQclW0Ze0x9aKJahduC5RSFOCGCMW/ oe5yWglvd29BxhegBPUdFDakWolQZ3kowAwVyDcxWVWE/UtXW1B4DdCfBe32zFrhB2Ia L4ogFBzINCHCkFfnBWLZJWtJ+9CccK2wX+i8Dex8m6XKNeEzOf69s6qkhjdSIYCRJNMk mT5pc6jDLVMkDC7RE9TO4hRDaO9s7Hjs/sm8OYP0eBvmBZ1RcsB2fAAUloZz5KxYjby0 5fBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=AgydtWNm; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h14si21916575edb.425.2019.09.15.19.32.25; Sun, 15 Sep 2019 19:32:49 -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=@google.com header.s=20161025 header.b=AgydtWNm; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728545AbfIOVib (ORCPT + 99 others); Sun, 15 Sep 2019 17:38:31 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40717 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728384AbfIOVia (ORCPT ); Sun, 15 Sep 2019 17:38:30 -0400 Received: by mail-pg1-f196.google.com with SMTP id w10so18459821pgj.7 for ; Sun, 15 Sep 2019 14:38:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=cRhIay7rP7qO7uPvAr8A+Remo+kZoigIWCA9uWQOOak=; b=AgydtWNmsm41EGzhfgHuXUQ2ogbP+pCCgNfSFc8BIUGd0TaaRzK+OiSf/lwqT26raw Od+y6fdGIORn1N6Jdj5+Tx43HrRH/X2CpQXzgrc/KoLDyzcOMTjjFiTRsCS0KE3WvCrd EmBBQfWiYVfX0y0L7Xim5ZozYink7dijZYfoZTYFwXhWQKEIrxsVxIo9yN06ll/9ghsW yYGTSGxiDXN9WZ0Vj0zi9xIr7ZQSvz35GPofw+9HEtkasqEPP6hY6ryGYYDVAwqdn9p2 yOwbcJRrH21to4y6vVPDln+dj4nS4yaXRyuSkRBJl8Mx+3350DVb9k5Nw0B8cZsrqh7y vBcw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=cRhIay7rP7qO7uPvAr8A+Remo+kZoigIWCA9uWQOOak=; b=qZUKhDd6nGPGLXqJd2PBwptA3kOfzfQR7A8GqaBfG+TVnbMc87+3ekoU0+WUTcBKBL hUyQTok/R9r27IDuc8O/25BpdlZCkicU7iPCdxkkkL1BDUNo2sQ5fJApe6DuG+MNZh4r 6Jai9U7kYq2SVnD3kZqzAtWGPIKWgA56JnL+WvrSHOaxZDdPDuMKqUGQ+tpb+2soJdeN T5rmwq9DSB/GMAn5kdJKU9XfiHIR207aQbdbu+4ltBNEubARr0/0OTLfm9ctyog18nAS 1Mo3WOk01IVXoXE89Xodhnul5SrMVLnM35MdJBV6b1Yf5ymZa7g4OlU9JxaQnBzsM63C ZQlw== X-Gm-Message-State: APjAAAUEUbJRvEWoPzQnSXycZV2uQzJtGIQJYqWHjMCBu8JQGxO2/ytR zKq00b6TtF0/1n32WDETVl/Flw== X-Received: by 2002:a62:7710:: with SMTP id s16mr48666467pfc.139.1568583509899; Sun, 15 Sep 2019 14:38:29 -0700 (PDT) Received: from [2620:15c:17:3:3a5:23a7:5e32:4598] ([2620:15c:17:3:3a5:23a7:5e32:4598]) by smtp.gmail.com with ESMTPSA id 7sm24804360pfi.91.2019.09.15.14.38.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Sep 2019 14:38:29 -0700 (PDT) Date: Sun, 15 Sep 2019 14:38:28 -0700 (PDT) From: David Rientjes X-X-Sender: rientjes@chino.kir.corp.google.com To: Pengfei Li cc: akpm@linux-foundation.org, vbabka@suse.cz, cl@linux.com, penberg@kernel.org, iamjoonsoo.kim@lge.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, guro@fb.com Subject: Re: [RESEND v4 2/7] mm, slab: Remove unused kmalloc_size() In-Reply-To: <20190915170809.10702-3-lpf.vector@gmail.com> Message-ID: References: <20190915170809.10702-1-lpf.vector@gmail.com> <20190915170809.10702-3-lpf.vector@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Sep 2019, Pengfei Li wrote: > The size of kmalloc can be obtained from kmalloc_info[], > so remove kmalloc_size() that will not be used anymore. > > Signed-off-by: Pengfei Li > Acked-by: Vlastimil Babka > Acked-by: Roman Gushchin Acked-by: David Rientjes