Re: [v3 2/2] mm: khugepaged: avoid overriding min_free_kbytes set by user

2020-09-21 Thread Sasha Levin
Hi [This is an automated email] This commit has been processed because it contains a -stable tag. The stable tag indicates that it's relevant for the following trees: all The bot has tested the following trees: v5.8.10, v5.4.66, v4.19.146, v4.14.198, v4.9.236, v4.4.236. v5.8.10: Build OK! v5.4

Re: [v3 2/2] mm: khugepaged: avoid overriding min_free_kbytes set by user

2020-09-16 Thread Vijay Balakrishna
Please ignore this patch. I forgot to run scripts/checkpatch.pl and see CHECK: Alignment should match open parenthesis #30: FILE: mm/khugepaged.c:2287: + if (recommended_min > min_free_kbytes || + recommended_min > user_min_free_kbytes) { ERROR: do not initialise globals to

[v3 2/2] mm: khugepaged: avoid overriding min_free_kbytes set by user

2020-09-16 Thread Vijay Balakrishna
set_recommended_min_free_kbytes need to honor min_free_kbytes set by the user. Post start-of-day THP enable or memory hotplug operations can lose user specified min_free_kbytes, in particular when it is higher than calculated recommended value. user_min_free_kbytes initialized to 0 to avoid undes