]> git.baikalelectronics.ru Git - kernel.git/commit
mm/mmap: remove obsolete comment in ksys_mmap_pgoff
authorMiaohe Lin <linmiaohe@huawei.com>
Tue, 22 Mar 2022 21:42:39 +0000 (14:42 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Mar 2022 22:57:05 +0000 (15:57 -0700)
commit458515c8f37bc2846e90b1a084b925238f66db14
tree864a9483c13ddbcbc533c849d349170c7327792f
parent54ac2c9014ac748010ddbf8f9b78e8ac367ea445
mm/mmap: remove obsolete comment in ksys_mmap_pgoff

RLIMIT_MEMLOCK is already reimplemented on top of ucounts now.  And
since commit c046d24b77e3 ("mm,hugetlb: remove mlock ulimit for
SHM_HUGETLB"), mlock ulimit for SHM_HUGETLB is further removed.

So we should remove this obsolete comment.

Link: https://lkml.kernel.org/r/20220309090623.13036-1-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/mmap.c