On 1/12/24 09:44, Mimi Zohar wrote:
On Thu, 2024-01-11 at 12:52 -0800, Tushar Sugandhi wrote:
[...]
If we go with the KBs approach -
half-a-page translates to different KBs on different architectures.
And setting the right default value in KBs which would translate to
the desired half-a-page, on a given arch, inside the Kconfig seems
fragile (as I mentioned in the context of Option A in my previous
response.
How about setting the default value to 0, indicating not to change the current
half page default. Any other value would be KBs, as Stefan suggested.
Thanks.
That's way more elegant than the other alternatives.
It's definitely doable in KConfig and handle the default in code
appropriately.
It may cause some confusion in the documentation of the config param.
But it would be a wording issue, and we can work on it.
Thanks for the suggestion. I like it honestly.
~Tushar