Messages in this thread | | | Subject | Re: [RFC PATCH 0/4] mm: reclaim zbud pages on migration and compaction | From | Krzysztof Kozlowski <> | Date | Tue, 06 Aug 2013 15:05:14 +0200 |
| |
On wto, 2013-08-06 at 17:16 +0800, Bob Liu wrote: > On 08/06/2013 02:42 PM, Krzysztof Kozlowski wrote: > > This reclaim process is different than zbud_reclaim_page(). It acts more > > like swapoff() by trying to unuse pages stored in zbud page and bring > > them back to memory. The standard zbud_reclaim_page() on the other hand > > tries to write them back. > > I prefer to migrate zbud pages directly if it's possible than reclaiming > them during compaction.
I think it is possible however it would be definitely more complex. In case of migration the zswap handles should be updated as they are just virtual addresses. Am I right?
Best regards, Krzysztof
| |