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)
committerAnita Zhang <the.anitazha@gmail.com>
Fri, 2 Apr 2021 02:52:49 +0000 (19:52 -0700)
commit69c8f0255a0a8127548907028bef09ea66056f9f
treefa5bd68f84e3bbeece5e226f09c5087733e64e3e
parentdf637ede7b4e1d0faf8d620d626a0af230712a9e
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.
src/oom/oomd-util.c
src/oom/oomd-util.h
src/oom/test-oomd-util.c