[PATCH] start anon pages on the active list
We're currently adding anon pages to the inactive list. But they're all referenced, so when they reach the tail of the inactive list the kernel will always then bump them up to the active list. Not only does this waste CPU, but it leads to inactive/active imbalance. We end up with enormous sequences of unreclaimable, to-be-activated pages hitting the tail of the LRU and large amounts of scanning need to be done. Which upsets the VM, making it think that it is "under distress". So just start them out on the active list.
Showing
Please register or sign in to comment