[LTP] [PATCH v3 1/3] lib: add functions to adjust oom score
Li Wang
liwang@redhat.com
Tue Dec 21 12:32:23 CET 2021
Hi Petr, Cyril,
On Tue, Dec 21, 2021 at 6:44 PM Petr Vorel <pvorel@suse.cz> wrote:
> > > + if (access("/proc/self/oom_score_adj", F_OK) == -1) {
> > > + tst_res(TINFO, "Warning: oom_score_adj does not exist,
> > > + skipping the adjustement");
>
> > I'm not sure about the "Warning:" in this message, I would just dully
> > informed the user that the interface is not available.
>
> I'd also prefer not having to print "Warning:" in TINFO message
> (I know TWARN exit non-zero).
Okay, I deleted that keyword and pushed patchset.
Thanks a lot for your both review.
--
Regards,
Li Wang
More information about the ltp
mailing list