Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mem: optimize debug logging enqueued pages
During restore, CRIU prints "Enqueue page-read" messages for each page-read request [1]. However, this message does not provide useful information, increases performance overhead during restore and the size of log file. $ ./zdtm.py run -t zdtm/static/maps06 -f h -k always $ grep 'Enqueue' dump/zdtm/static/maps06/56/1/restore.log | wc -l 20494 This commit replaces these log messages with a single message that shows the number of enqueued page-read requests. $ grep 'enqueued' dump/zdtm/static/maps06/56/1/restore.log (00.061449) 56: nr_enqueued_pages: 20493 [1] 91388fc Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
- Loading branch information