Re: [patch] mm, thp: fix mlock statistics
From: Michel Lespinasse <hidden>
Date: 2012-09-29 00:11:37
Also in:
lkml
From: Michel Lespinasse <hidden>
Date: 2012-09-29 00:11:37
Also in:
lkml
On Wed, Sep 26, 2012 at 7:29 PM, David Rientjes [off-list ref] 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 <hughd@google.com> Signed-off-by: David Rientjes <rientjes@google.com>
Looks good, thanks! Reviewed-by: Michel Lespinasse <redacted> -- 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: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>