[systemd-devel] About supporting relative values (e.g. 50%) in configuration
Zbigniew Jędrzejewski-Szmek
zbyszek at in.waw.pl
Fri Mar 9 08:13:40 UTC 2018
On Thu, Mar 08, 2018 at 03:48:54PM +0800, ChenQi wrote:
> Hi All,
>
> I'd like to know if systemd community thinks that adding support for
> relative values in configuration is a good idea.
>
> I found a related patch and discussion in https://lists.freedesktop.org/archives/systemd-devel/2015-May/032191.html.
>
> Quoting from the comments:
> """
>
> I'd always keep our basic structures as generic as possible, and as
> close to the way CPUs work. Hence: store things as fixed-point
> 32bit/32bit internally, but make it configurable in percent as
> user-pointing UI.
>
> """
>
> According to the comments, it seems that adding such support is acceptable?
>
> I' sending out this email because I want to check with the community
> before I start to investigate more.
Hi,
yes, a patch to allow relative values would be very much welcome.
Zbyszek
More information about the systemd-devel
mailing list