mmap-cache: merge mmap_try_harder() with make_room()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 28 Sep 2023 01:27:45 +0000 (10:27 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 4 Oct 2023 10:53:27 +0000 (19:53 +0900)
commit1ed867d309445b44be734b20d864b321bfb90792
tree312f0263e156e147327274c24b5eb21a51d5c583
parent714cb48a4f069be485d4229c127b59d2c952adef
mmap-cache: merge mmap_try_harder() with make_room()

The function make_room() is short and only used by mmap_try_harder().
Let's merge them with short comments.

No functional change, just refactoring.
src/libsystemd/sd-journal/mmap-cache.c