oomd: rename last_hit_mem_pressure_limit -> mem_pressure_limit_hit_start
authorAnita Zhang <the.anitazha@gmail.com>
Sat, 27 Mar 2021 09:02:00 +0000 (02:02 -0700)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Fri, 7 May 2021 10:06:54 +0000 (12:06 +0200)
commit6f5b40fd27fd37b6cd42e83e721ac1cbec26b57c
tree7e5686e083f54ad91b2e5aa0737f95865726c288
parent1851deeea0aff6d748377e8b5f876c38fc237484
oomd: rename last_hit_mem_pressure_limit -> mem_pressure_limit_hit_start

Since this is only changed the first time the limit is hit (and remains
set as long as the pressure remains over), I changed the name to better
reflect that.

Keeps consistent with "last_had_mem_reclaim" which is actually updated
every time there is reclaim activity.

(cherry picked from commit 69c8f0255a0a8127548907028bef09ea66056f9f)
src/oom/oomd-util.c
src/oom/oomd-util.h
src/oom/test-oomd-util.c