Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp65113imu; Thu, 8 Nov 2018 14:55:10 -0800 (PST) X-Google-Smtp-Source: AJdET5d0HuSnfSz3U1yYUsk3duOLvHfgCysDKQz0LP+GEXsw3eoRa4CfU7CSBNuNxzAdhZH2wAnf X-Received: by 2002:a63:a51b:: with SMTP id n27mr5497655pgf.17.1541717710858; Thu, 08 Nov 2018 14:55:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541717710; cv=none; d=google.com; s=arc-20160816; b=hEF3q6lyMJKrIMTievaXvM6sJibh5HvS5I/hkWW9xD1wUvtAnqbaMP1cTBmTu44BvK xTqf2LGKhmTBsOccF2WfCwbAEp0Fz+v9bz5NyDL8Izss4nbrt6vWTUkM6AgYNXDdUkIw tFuFWxNfApXMfD0fHtvqhAMQUdMUpl48YYNYRmUtFtCOj7rWPXROB86lgIZkuWN0KisW XjHIddJxBe7Mt3c71rCIp2dDb5eKW9LFSCA/+4Xdn2jHP/KN+6KrsvNo1loxnzUNDzME dYttMBLbIRV1tZ8a8UFOIIfaiVvcjmWbaj4sSqDczZQutbRVcXRiN4CAyoJap/KHQ1k6 /wvg== 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; bh=caCMkMIdbqYwAfluIDPe8Ps+4BP117Izn59G5TXZeCU=; b=Ta61urqlkpDbqG2A8TjGnftWiPjYtz8AwdafNgJnE9TCnYeYc0NsH/CsTMUYK/flhX xw052SQDv0H7YAJQ2Yx3CpvnLUBPMSD3BBSP8bGi77HCCH1Cr60BO/YsxC1ofDtQOo44 mr8tvMogY4KyxLLjIb/6oPOdHw7VI85poo8WA1YymjKmvCm///SIgE6q4tc+lvfeakT+ P21zh+JUV8KB+h2i+ojqxj3pu4V/nxjUj2vmz6UHBiPGrv3Ic7VzpOL0DMPayUU6kfa0 JlQ9dEwHjsi6bKpWw9R+JcYUal1PJAgepFBYtnp146TD+9nNhNZhRO2V6WPF06GTX3To s3GQ== 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 t20si4292550pgl.211.2018.11.08.14.54.55; Thu, 08 Nov 2018 14:55:10 -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 S1727404AbeKIIaZ (ORCPT + 99 others); Fri, 9 Nov 2018 03:30:25 -0500 Received: from mail.linuxfoundation.org ([140.211.169.12]:56744 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726875AbeKIIaZ (ORCPT ); Fri, 9 Nov 2018 03:30:25 -0500 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 091E7A7A; Thu, 8 Nov 2018 22:52:40 +0000 (UTC) Date: Thu, 8 Nov 2018 14:52:39 -0800 From: Andrew Morton To: Zhaoyang Huang Cc: Chintan Pandya , David Rientjes , Joe Perches , Michal Hocko , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm:vmalloc add vm_struct for vm_map_ram Message-Id: <20181108145239.f8249da5833974bad286fb78@linux-foundation.org> In-Reply-To: <1541675689-13363-1-git-send-email-huangzhaoyang@gmail.com> References: <1541675689-13363-1-git-send-email-huangzhaoyang@gmail.com> X-Mailer: Sylpheed 3.6.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 Thu, 8 Nov 2018 19:14:49 +0800 Zhaoyang Huang wrote: > There is no caller and pages information etc for the area which is > created by vm_map_ram as well as the page count > VMAP_MAX_ALLOC. > Add them on in this commit. Well I can kind of see what this is doing - it increases the amount of info in /proc/vmallocinfo for regions which were created by vm_map_area(), yes? But I'd like to hear it in your words, please. What problem are we trying to solve? Why is it actually a problem? Why is the additional information considered useful, etc? It would help a lot if the changelog were to include before-and-after examples from the /proc/vmallocinfo output. Thanks.