On Thu, Nov 30, 2023 at 09:56:59AM +0800, zhiguojiang wrote:Thanks for you suggestions, I will update the newer version patch later.
Then the word "many" communicates your meaning better. "massive" wouldThe added "massive" means that there are a large number of pages marked for- * If kswapd scans pages marked for immediateI don't understand why you've added the word "massive". Do you mean
+ * If kswapd scans massive pages marked for immediate
that the pages are large, or that kswapd has scanned a lot of pages?
immediate reclaim on evictable LRUs.
mean that each page is very big, while "many" means that there are a
lot of pages.
It was foolish to send out a v2 so swiftly. Best wait for someone who's
familiar with this code to respond to it now that you've clarified what
you were doing.