Subject: Re: [PATCH -V7 02/10] powerpc/THP: Implement transparent hugepages for ppc64

From: Benjamin Herrenschmidt <[email-masked]>
Date: Sun, 05 May 2013 07:39:19 +1000

On Sun, 2013-05-05 at 00:44 +0530, Aneesh Kumar K.V wrote:
> 
> We may want to retain some of these because of the assert we want to add
> for locking. PTE related functions expect ptl to be locked. PMD related
> functions expect mm->page_table_lock to be locked.

In this case have a single inline commmon function __something called
by two different wrappers.

Cheers,
Ben.