Re: [patch] mm, thp: fix mlock statistics
From: Michel Lespinasse
Date: Fri Sep 28 2012 - 20:12:03 EST
On Wed, Sep 26, 2012 at 7:29 PM, David Rientjes <rientjes@xxxxxxxxxx> 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@xxxxxxxxxx>
> Signed-off-by: David Rientjes <rientjes@xxxxxxxxxx>
Looks good, thanks!
Reviewed-by: Michel Lespinasse <walken@xxxxxxxxxx>
--
Michel "Walken" Lespinasse
A program is never fully debugged until the last user dies.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/