[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v2 03/10] Rename HAS_MEM_ACCESS to MEM_ACCESS



>>> Stefano Stabellini <sstabellini@xxxxxxxxxx> 05/22/18 2:53 AM >>>
>HAS_MEM_ACCESS has become selectable by the user on ARM32 and ARM64. To
>mark the change, rename the option from HAS_MEM_ACCESS to MEM_ACCESS.

I have a different suggestion, a model used (iirc) in a couple of places in 
Linux:
The feature controlling option is, as you make it here, MEM_ACCESS. It should
live in a non-arch-specific Kconfig though, and should be controlled by two 
further
options: HAS_MEM_ACCESS (telling whether the arch actually is capable of
doing this, i.e. MEM_ACCESS to depend on it) and something like
MEM_ACCESS_ALWAYS_ON (telling whether the prompt should be hidden and,
if the default with prompt enabled was "no", also controlling the default).

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.