Hi David,
Thanks very much for the detailed comments and explanations!
在 2024/9/2 21:45, David Hildenbrand 写道:
On 02.09.24 14:24, Rong Qianfeng wrote:
Reserved pages are basically non-lru pages. This kind of memory can't be
used as migration sources and targets, skip it can bring some
performance
benefits.
Any numbers? :)
I am still thinking about how to design test cases. If you have any good
suggestions, please tell me. Thank you very much.
What about free_reserved_page() ? There might be more, though
(kimage_free_pages()). You have to take a look at all functions where we
clear PageReserved.
Thanks for your reminder, I found that I missed a lot of functions.
Maybe a better choice is to clear PB_migrate_skip in free_reserved_page()
to reduce the amount of modification.