Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753185AbeAQORP (ORCPT + 1 other); Wed, 17 Jan 2018 09:17:15 -0500 Received: from bombadil.infradead.org ([65.50.211.133]:36329 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752574AbeAQORN (ORCPT ); Wed, 17 Jan 2018 09:17:13 -0500 Date: Wed, 17 Jan 2018 06:17:04 -0800 From: Matthew Wilcox To: Xishi Qiu Cc: Vlastimil Babka , Michal Hocko , Mel Gorman , LKML , Linux MM , "Wujiangtao (A)" Subject: Re: [RFC] mm: why vfree() do not free page table memory? Message-ID: <20180117141704.GA10398@bombadil.infradead.org> References: <5A4603AB.8060809@huawei.com> <0ffd113e-84da-bd49-2b63-3d27d2702580@suse.cz> <5A5F1C09.9040000@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5A5F1C09.9040000@huawei.com> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 17, 2018 at 05:48:57PM +0800, Xishi Qiu wrote: > > Did you notice an actual issue, or is this just theoretical concern. > > Yes, we have this problem on our production line. > I find the page table memory takes 200-300M. 200MB? That's mapping 800GB of virtual address space. That must be quite the module you're loading there ...