Home
last modified time | relevance | path

Searched refs:local_watermark (Results 1 – 3 of 3) sorted by relevance

/linux/mm/
H A Dpage_counter.c101 if (new > READ_ONCE(c->local_watermark)) { in page_counter_charge()
102 WRITE_ONCE(c->local_watermark, new); in page_counter_charge()
159 if (new > READ_ONCE(c->local_watermark)) { in page_counter_try_charge()
160 WRITE_ONCE(c->local_watermark, new); in page_counter_try_charge()
H A Dmemcontrol.c4264 peak = max(fd_peak, READ_ONCE(pc->local_watermark)); in peak_show()
4311 WRITE_ONCE(pc->local_watermark, usage); in peak_write()
/linux/include/linux/
H A Dpage_counter.h32 unsigned long local_watermark; member
98 counter->local_watermark = usage; in page_counter_reset_watermark()