From: Aneesh Kumar K.V
> Sent: 13 July 2016 10:35
> 
> This switch few of the page table accessor to use the __raw variant
> and does the cpu to big endian conversion of constants. This helps in
> generating better code.

It might be better to say that checks for a value being 0 don't depend
on the endianness.

In which case you want a function that return !!xxx_raw() itself.

OTOH it might be worth finding out why the cpu's byteswapping memory
accessors aren't used - which might save the byteswap instruction
sequence in all paths.

        David

_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to