Re: [PATCH] /proc/PID/smaps: Add PMD migration entry parsing

From: Michal Hocko
Date: Thu Apr 02 2020 - 02:27:24 EST


On Wed 01-04-20 16:04:32, Andrew Morton wrote:
> On Tue, 31 Mar 2020 16:56:04 +0800 "Huang, Ying" <ying.huang@xxxxxxxxx> wrote:
>
> > From: Huang Ying <ying.huang@xxxxxxxxx>
> >
> > Now, when read /proc/PID/smaps, the PMD migration entry in page table is simply
> > ignored. To improve the accuracy of /proc/PID/smaps, its parsing and processing
> > is added.
>
> It would be helpful to show the before-and-after output in the changelog.

Migration entries are ephemeral. Is this observable in practice? I
suspect this is just primarily motivated by reading the code more than
hitting the actual problem.
--
Michal Hocko
SUSE Labs