Re: [PATCH v3 09/15] arm64/mm: Split the function check_and_switch_context in 3 parts

2019-07-25 Thread Catalin Marinas
On Wed, Jul 24, 2019 at 05:25:28PM +0100, Julien Grall wrote: > The function check_and_switch_context is used to: > 1) Check whether the ASID is still valid > 2) Generate a new one if it is not valid > 3) Switch the context > > While the latter is specific to the MM subsystem, the

[PATCH v3 09/15] arm64/mm: Split the function check_and_switch_context in 3 parts

2019-07-24 Thread Julien Grall
The function check_and_switch_context is used to: 1) Check whether the ASID is still valid 2) Generate a new one if it is not valid 3) Switch the context While the latter is specific to the MM subsystem, the rest could be part of the generic ASID allocator. After this patch, the