About supporting relative values (e.g. 50%) in configuration

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

 



gOn Do, 08.03.18 14:39, ChenQi (Qi.Chen at windriver.com) wrote:

> Hi All,
> 
> I'd like to know if systemd community thinks that adding support for
> relative values in configuration is a good idea.

Depends on which precise options you are talking of? But yeah, in general
would be very welcome for a number of settings!

> 
> 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?

Correct!

Would be great if you'd submit PRs for this!

Lennart

-- 
Lennart Poettering, Red Hat


[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux