Messages in this thread | | | Date | Mon, 9 Oct 2023 23:48:49 +0530 | From | swarup <> | Subject | Re: + selftests-proc-add-proc-pid-statm-output-validation.patch added to mm-nonmm-unstable branch |
| |
esOn Mon, Oct 09, 2023 at 12:00:04PM +0300, Alexey Dobriyan wrote: > 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.
Hi Alexey Dobriyan, It is my mistake, i checked the code, yes it always exists. Thanks, Swarup
| |