Messages in this thread | | | Date | Tue, 04 Aug 2020 10:13:19 +0200 | From | osalvador@suse ... | Subject | Re: [PATCH v5 00/16] HWPOISON: soft offline rework |
| |
On 2020-08-04 03:49, Qian Cai wrote: > > Well, each iteration will mmap/munmap, so there should be no leaking. > > https://gitlab.com/cailca/linux-mm/-/blob/master/random.c#L376 > > It also seem to me madvise(MADV_SOFT_OFFLINE) does start to fragment > memory > somehow, because after this "madvise: Cannot allocate memory" happened, > I > immediately checked /proc/meminfo and then found no hugepage usage at > all.
Unfortunately I will be off for a week, but out of curiosity, could you try out with below tree [1] and see if you still see those issues?
Thanks for your time
[1] https://github.com/leberus/linux-mm-1/tree/hwpoison
| |