Re: + selftests-proc-add-proc-pid-statm-output-validation.patch added to mm-nonmm-unstable branch

From: Alexey Dobriyan
Date: Mon Oct 09 2023 - 05:00:13 EST


On Mon, Oct 09, 2023 at 09:14:53AM +0300, Alexey Dobriyan wrote:
> On Wed, Oct 04, 2023 at 01:17:00PM -0700, Andrew Morton wrote:

> > + if (errno == ENOENT) {
> > + /*
> > + * /proc/${pid}/statm is under CONFIG_PROC_PAGE_MONITOR,
> > + * it doesn't necessarily exist.

Oh, and /proc/*/statm is _not_ under CONFIG_PROC_PAGE_MONITOR,
it always exists.