On (23/11/16 15:27), Dmytro Maluka wrote: > On 11/15/23 03:42, Sergey Senozhatsky wrote: > > @@ -293,8 +301,9 @@ static void mark_idle(struct zram *zram, ktime_t cutoff) > > zram_slot_lock(zram, index); > > if (zram_allocated(zram, index) && > > !zram_test_flag(zram, index, ZRAM_UNDER_WB)) { > > -#ifdef CONFIG_ZRAM_MEMORY_TRACKING > > - is_idle = !cutoff || ktime_after(cutoff, zram->table[index].ac_time); > > +#ifdef ZRAM_TRACK_ENTRY_ACTIME > > CONFIG_ZRAM_TRACK_ENTRY_ACTIME? Thanks for spotting this.