Skip to content
Snippets Groups Projects
user avatar
Chris von Recklinghausen authored
Bugzilla: https://bugzilla.redhat.com/2120352

commit 83c1fd76
Author: zhangyiru <zhangyiru3@huawei.com>
Date:   Mon Nov 8 18:31:27 2021 -0800

    mm,hugetlb: remove mlock ulimit for SHM_HUGETLB

    Commit 21a3c273 ("mm, hugetlb: add thread name and pid to
    SHM_HUGETLB mlock rlimit warning") marked this as deprecated in 2012,
    but it is not deleted yet.

    Mike says he still sees that message in log files on occasion, so maybe we
    should preserve this warning.

    Also remove hugetlbfs related user_shm_unlock in ipc/shm.c and remove the
    user_shm_unlock after out.

    Link: https://lkml.kernel.org/r/20211103105857.25041-1-zhangyiru3@huawei.com


Signed-off-by: default avatarzhangyiru <zhangyiru3@huawei.com>
Reviewed-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
    Cc: Hugh Dickins <hughd@google.com>
    Cc: Liu Zixian <liuzixian4@huawei.com>
    Cc: Michal Hocko <mhocko@suse.com>
    Cc: wuxu.wu <wuxu.wu@huawei.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: default avatarChris von Recklinghausen <crecklin@redhat.com>
2b81629f
Name Last commit Last update
..