Re: [PATCH v13 15/25] virt: geniezone: Add memory pin/unpin support
From: Hillf Danton
Date: Tue Dec 17 2024 - 05:58:46 EST
On Thu, 14 Nov 2024 18:07:52 +0800
> From: Jerry Wang <ze-yu.wang@xxxxxxxxxxxx>
>
> +struct gzvm_pinned_page {
> + struct rb_node node;
> + struct page *page;
> + u64 ipa;
> +};
To avoid inventing wheel behind locked door, feel free to use page cache to
keep pinned pages in shape.