Centos-kernel-stream-9/ipc
Chris von Recklinghausen 2b81629f1d mm,hugetlb: remove mlock ulimit for SHM_HUGETLB
Bugzilla: https://bugzilla.redhat.com/2120352

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

    mm,hugetlb: remove mlock ulimit for SHM_HUGETLB

    Commit 21a3c273f8 ("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: zhangyiru <zhangyiru3@huawei.com>
    Reviewed-by: Mike 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: Andrew Morton <akpm@linux-foundation.org>
    Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Signed-off-by: Chris von Recklinghausen <crecklin@redhat.com>
2022-10-12 07:27:31 -04:00
..
Makefile
compat.c
ipc_sysctl.c
mq_sysctl.c
mqueue.c ipc/mqueue: use get_tree_nodev() in mqueue_get_tree() 2022-05-27 16:50:50 -04:00
msg.c memcg: enable accounting of ipc resources 2021-10-05 16:10:48 -04:00
msgutil.c
namespace.c memcg: enable accounting for new namesapces and struct nsproxy 2021-11-29 11:41:20 -05:00
sem.c ipc: remove memcg accounting for sops objects in do_semtimedop() 2021-10-05 16:17:31 -04:00
shm.c mm,hugetlb: remove mlock ulimit for SHM_HUGETLB 2022-10-12 07:27:31 -04:00
syscall.c
util.c proc: remove PDE_DATA() completely 2022-04-08 17:38:02 +02:00
util.h