From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx201.postini.com [74.125.245.201]) by kanga.kvack.org (Postfix) with SMTP id D28906B006C for ; Fri, 28 Sep 2012 20:11:32 -0400 (EDT) Received: by ied10 with SMTP id 10so10799430ied.14 for ; Fri, 28 Sep 2012 17:11:32 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: Date: Fri, 28 Sep 2012 17:11:31 -0700 Message-ID: Subject: Re: [patch] mm, thp: fix mlock statistics From: Michel Lespinasse Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-linux-mm@kvack.org List-ID: To: David Rientjes Cc: Hugh Dickins , Andrew Morton , Linus Torvalds , Andrea Arcangeli , Naoya Horiguchi , KAMEZAWA Hiroyuki , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org, stable@vger.kernel.org On Wed, Sep 26, 2012 at 7:29 PM, David Rientjes wrote: > NR_MLOCK is only accounted in single page units: there's no logic to > handle transparent hugepages. This patch checks the appropriate number > of pages to adjust the statistics by so that the correct amount of memory > is reflected. > > Reported-by: Hugh Dickens > Signed-off-by: David Rientjes Looks good, thanks! Reviewed-by: Michel Lespinasse -- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org