Re: [PATCH V2 04/68] powerpc/mm: Use big endian page table for book3s 64

From
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date
2016-05-30 11:00:37
Reply to
Aneesh Kumar K.V, 2016-05-30
On Mon, 2016-05-30 at 14:12 +0530, Aneesh Kumar K.V wrote:
quoted hunk ↗ jump to hunk
 /* Encode and de-code a swap entry */
@@ -516,10 +533,12 @@ static inline pte_t pte_swp_mksoft_dirty(pte_t
pte)
 {
        return __pte(pte_val(pte) | _PAGE_SWP_SOFT_DIRTY);
 }
These kind of setters (and mkspecial etc...) could also just OR
the byteswapped constant to the raw PTE..

Cheers,
Ben.
Thread (139 messages) 139 messages, 9 authors, last reply 2016-11-24
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help