Re: [PATCH v3 2/2] proc: Add getting pages info of ZONE_DEVICE support

From: Michal Hocko
Date: Thu Jan 13 2022 - 10:31:25 EST


On Wed 12-01-22 22:35:17, sxwjean@xxxxxx wrote:
> From: Xiongwei Song <sxwjean@xxxxxxxxx>
>
> When requesting pages info by /proc/kpage*, the pages in ZONE_DEVICE were
> ignored.
>
> The pfn_to_devmap_page() function can help to get page that belongs to
> ZONE_DEVICE.

Why is this needed? Who would consume that information and what for?
--
Michal Hocko
SUSE Labs