[LTP] LTP Release

Cyril Hrubis chrubis@suse.cz
Mon Apr 29 13:59:52 CEST 2019


Hi!
> > > So as usually please go ahead and point out anything that should go in
> > > before the release.
> >
> > Only Peter replied so far, so I suppose that we are ready to freeze git
> > starting next week and start the pre-release testing.
> >
> > Or is there anything that has to be considered to be included before we
> > do that?
> >
> 
> Here is a simple fix for hugepage test broken with memory shortage.
> Consider merging?
> http://lists.linux.it/pipermail/ltp/2019-April/011714.html

The basic idea looks OK however:

* the function name (reset_hugepages) is a bit confusing
  what about "cap_hugepages" or "limit_hugepages"

* The MemFree: may be close to zero on long running system because of
  cached files, AFAIK MemAvailable: would be a better choice, see:

  https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=34e431b0ae398fc54ea69ff85ec700722c9da773

  Unfortunately that one is available since 3.14 kernel, if we wanted to
  run on older kenrnels I would propose to fall back to dropping caches
  and using MemFree: on kernel that does not have MemAvailable: in
  meminfo.

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list