Re: [PATCH v3 5/6] powerpc/mm: Reduce memory usage for mm_context_t for radix

2019-04-25 Thread Aneesh Kumar K.V
Christophe Leroy writes: > Le 17/04/2019 à 15:03, Aneesh Kumar K.V a écrit : >> Currently, our mm_context_t on book3s64 include all hash specific >> context details like slice mask and subpage protection details. We >> can skip allocating these with radix translation. This will help us to save >>

Re: [PATCH v3 5/6] powerpc/mm: Reduce memory usage for mm_context_t for radix

2019-04-24 Thread Christophe Leroy
Le 17/04/2019 à 15:03, Aneesh Kumar K.V a écrit : Currently, our mm_context_t on book3s64 include all hash specific context details like slice mask and subpage protection details. We can skip allocating these with radix translation. This will help us to save 8K per mm_context with radix transl

[PATCH v3 5/6] powerpc/mm: Reduce memory usage for mm_context_t for radix

2019-04-17 Thread Aneesh Kumar K.V
Currently, our mm_context_t on book3s64 include all hash specific context details like slice mask and subpage protection details. We can skip allocating these with radix translation. This will help us to save 8K per mm_context with radix translation. With the patch applied we have sizeof(mm_conte