chiark / gitweb /
util: introduce physical_memory_scale() to unify how we scale by physical memory
authorLennart Poettering <lennart@poettering.net>
Wed, 8 Jun 2016 18:45:32 +0000 (20:45 +0200)
committerSven Eden <yamakuzure@gmx.net>
Fri, 16 Jun 2017 08:12:59 +0000 (10:12 +0200)
commit2027bfc6205de5f5313609fe0ca7e0649640219b
tree3aed53455135f980ce4441b64de34621666415a5
parent9eaebafed6dec1c3b5d1307b37f1b03a19530527
util: introduce physical_memory_scale() to unify how we scale by physical memory

The various bits of code did the scaling all different, let's unify this,
given that the code is not trivial.
src/login/logind-user.c
src/login/logind.c