Home
last modified time | relevance | path

Searched hist:"3 a33c760" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/arm64/mm/
H A Dcontext.c3a33c760 Thu Nov 30 12:25:17 CST 2017 Will Deacon <will.deacon@arm.com> arm64: context: Fix comments and remove pointless smp_wmb()

The comments in the ASID allocator incorrectly hint at an MP-style idiom
using the asid_generation and the active_asids array. In fact, the
synchronisation is achieved using a combination of an xchg operation
and a spinlock, so update the comments and remove the pointless smp_wmb().

Cc: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
3a33c760 Thu Nov 30 12:25:17 CST 2017 Will Deacon <will.deacon@arm.com> arm64: context: Fix comments and remove pointless smp_wmb()

The comments in the ASID allocator incorrectly hint at an MP-style idiom
using the asid_generation and the active_asids array. In fact, the
synchronisation is achieved using a combination of an xchg operation
and a spinlock, so update the comments and remove the pointless smp_wmb().

Cc: James Morse <james.morse@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>