Messages in this thread | | | Date | Fri, 28 Sep 2012 17:11:31 -0700 | Subject | Re: [patch] mm, thp: fix mlock statistics | From | Michel Lespinasse <> |
| |
On Wed, Sep 26, 2012 at 7:29 PM, David Rientjes <rientjes@google.com> 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 <walken@google.com>
-- Michel "Walken" Lespinasse A program is never fully debugged until the last user dies.
| |