Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754814AbbDHT3O (ORCPT ); Wed, 8 Apr 2015 15:29:14 -0400 Received: from cantor2.suse.de ([195.135.220.15]:60195 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753660AbbDHT3N (ORCPT ); Wed, 8 Apr 2015 15:29:13 -0400 Message-ID: <1428521343.11099.4.camel@stgolabs.net> Subject: Re: HugePages_Rsvd leak From: Davidlohr Bueso To: Shawn Bohrer Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Date: Wed, 08 Apr 2015 12:29:03 -0700 In-Reply-To: <20150408161539.GA29546@sbohrermbp13-local.rgmadvisors.com> References: <20150408161539.GA29546@sbohrermbp13-local.rgmadvisors.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.12.9 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 829 Lines: 21 On Wed, 2015-04-08 at 11:15 -0500, Shawn Bohrer wrote: > AnonHugePages: 241664 kB > HugePages_Total: 512 > HugePages_Free: 512 > HugePages_Rsvd: 384 > HugePages_Surp: 0 > Hugepagesize: 2048 kB > > So here I have 384 pages reserved and I can't find anything that is > using them. The output clearly shows all available hugepages are free, Why are you assuming that reserved implies allocated/in use? This is not true, please read one of the millions of docs out there -- you can start with: https://www.kernel.org/doc/Documentation/vm/hugetlbpage.txt -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/