Re: [HMM v13 04/18] mm/ZONE_DEVICE/free-page: callback when page is freed

From: Balbir Singh
Date: Sun Nov 20 2016 - 20:50:05 EST




On 19/11/16 05:18, JÃrÃme Glisse wrote:
> When a ZONE_DEVICE page refcount reach 1 it means it is free and nobody
> is holding a reference on it (only device to which the memory belong do).
> Add a callback and call it when that happen so device driver can implement
> their own free page management.
>

Could you give an example of what their own free page management might look like?

Balbir Singh.