lkml.org 
[lkml]   [2020]   [Aug]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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



\
 
 \ /
  Last update: 2020-08-04 10:13    [W:0.136 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site