Closed yulistic closed 4 weeks ago
The watermarks are defined with constants at https://github.com/xlab-uiuc/memtis/blob/cxl-run-bench/linux/mm/htmm_migrater.c#L22.
We may need to adjust the constants or just make nr_exceeded
to zero if a negative value is assigned.
Fixed. Related commit: 97199066b, 50560af4c
A negative value is assigned to
nr_exceeded
of which type isunsigned long
. It makes a demotion stuck within an infinite loop.