]> git.ipfire.org Git - thirdparty/systemd.git/commit
memory-util: Add PAGE_ALIGN_DOWN
authorChris Down <chris@chrisdown.name>
Thu, 3 Oct 2019 13:41:06 +0000 (14:41 +0100)
committerChris Down <chris@chrisdown.name>
Thu, 3 Oct 2019 13:43:30 +0000 (14:43 +0100)
commit3a6da69a93f599588b9bfaf3bee2c36ec938c9a8
tree317d2572a5fa2e471325cf6012dbc68f335cbfc8
parent86e94d95d020c34403bc99675318ed4e609ea3a0
memory-util: Add PAGE_ALIGN_DOWN

For example, cgroup v2 rounds down to the previous page when returning
memory limits.
src/basic/memory-util.h