Re: [RFC PATCH 4/4] membarrier: Introduce Kconfig ARCH_HAS_MEMBARRIER

From: Mathieu Desnoyers
Date: Mon Dec 11 2023 - 11:54:26 EST


On 2023-12-11 11:53, Andrea Parri wrote:
On Mon, Dec 11, 2023 at 08:34:21AM -0500, Mathieu Desnoyers wrote:
On 2023-12-11 04:44, Andrea Parri wrote:
Architectures supporting the "private expedited" membarrier command must
select the Kconfig to use the command. Document status and requirements
for each architecture in a single file under Documentation/features.

Sorry for being vague in my suggestion: I did not intend to make it
optional (not ARCH_HAS_MEMBARRIER), but rather just to have a central
place where this would be documented.

I see.


I'm not sure where in Documentation this should land though ?

Not sure, perhaps a section in (a new) Documentation/scheduler/membarrier.rst?

Yes, it makes sense.

Thanks!

Mathieu


Andrea

--
Mathieu Desnoyers
EfficiOS Inc.
https://www.efficios.com