[PATCH -V3 02/11] arch/powerpc: Simplify hpte_decode
Aneesh Kumar K.V
aneesh.kumar at linux.vnet.ibm.com
Mon Jul 23 15:41:04 EST 2012
Paul Mackerras <paulus at samba.org> writes:
> On Mon, Jul 09, 2012 at 06:43:32PM +0530, Aneesh Kumar K.V wrote:
>> From: "Aneesh Kumar K.V" <aneesh.kumar at linux.vnet.ibm.com>
>>
>> This patch simplify hpte_decode for easy switching of virtual address to
>> virtual page number in the later patch
>>
>> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar at linux.vnet.ibm.com>
>
> I'm not convinced your version is simpler than what was there before.
> It's certainly longer now. But it does seem to do the same calculation
> as before, so:
This actually make patch 3 "arch/powerpc: Convert virtual address to vpn"
simpler. The hpte_decode hunk is a one line change after this
>
> Reviewed-by: Paul Mackerras <paulus at samba.org>
-aneesh
More information about the Linuxppc-dev
mailing list