basic: delete loadavg.h copy
authorLuca Boccassi <luca.boccassi@microsoft.com>
Fri, 24 Sep 2021 16:28:27 +0000 (17:28 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 24 Sep 2021 22:10:44 +0000 (07:10 +0900)
commitf0e2cfc6dc1fc31a1a49c0a3bcaa56301e67e4ae
tree45149835ad52018d33bbe7c50ab31aa86f1ce9d5
parent3f67dccca0130093453b9abad4bf8171a3a72687
basic: delete loadavg.h copy

loadavg.h is an internal header of the Linux source repository, and as
such it is licensed as GPLv2-only, without syscall exception.

We use it only for 4 macros, which are simply doing some math calculations
that cannot thus be subject to copyright.
Reimplement the same calculations in another internal header and delete
loadavg.h from our tree.
src/basic/linux/loadavg.h [deleted file]
src/basic/linux/update.sh
src/basic/meson.build
src/basic/parse-util.c
src/basic/parse-util.h
src/oom/oomd-manager.c
src/oom/oomd-util.c
src/test/test-parse-util.c
src/test/test-psi-util.c