[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20171006095639.7zrc5s7vv6syukb4@node.shutemov.name>
Date: Fri, 6 Oct 2017 12:56:39 +0300
From: "Kirill A. Shutemov" <kirill@...temov.name>
To: Michal Hocko <mhocko@...nel.org>
Cc: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, linux-api@...r.kernel.org
Subject: Re: [PATCHv2 1/2] mm: Introduce wrappers to access mm->nr_ptes
On Fri, Oct 06, 2017 at 10:50:38AM +0200, Michal Hocko wrote:
> On Thu 05-10-17 13:14:41, Kirill A. Shutemov wrote:
> > Let's add wrappers for ->nr_ptes with the same interface as for nr_pmd
> > and nr_pud.
> >
> > It's preparation for consolidation of page-table counters in mm_struct.
>
> You are also making the accounting dependent on MMU which is OK because
> no nommu arch really accounts page tables if there is anything like that
> at all on those archs but it should be mentioned in the changelog.
Okay, I'll update change log.
> > Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
>
> Acked-by: Michal Hocko <mhocko@...e.com>
Thanks.
--
Kirill A. Shutemov
Powered by blists - more mailing lists