Re: [PATCH v13 06/14] mm: HUGE_VMAP arch support cleanup

2021-04-28 Thread Christophe Leroy
Le 17/03/2021 à 07:23, Nicholas Piggin a écrit : This changes the awkward approach where architectures provide init functions to determine which levels they can provide large mappings for, to one where the arch is queried for each call. This removes code and indirection, and allows

Re: [PATCH v13 06/14] mm: HUGE_VMAP arch support cleanup

2021-04-28 Thread Christophe Leroy
Le 28/04/2021 à 10:32, Christophe Leroy a écrit : Le 17/03/2021 à 07:23, Nicholas Piggin a écrit : This changes the awkward approach where architectures provide init functions to determine which levels they can provide large mappings for, to one where the arch is queried for each call.

[PATCH v13 06/14] mm: HUGE_VMAP arch support cleanup

2021-03-17 Thread Nicholas Piggin
This changes the awkward approach where architectures provide init functions to determine which levels they can provide large mappings for, to one where the arch is queried for each call. This removes code and indirection, and allows constant-folding of dead code for unsupported levels. This