+19
−25
Loading
mainline inclusion from mainline-v6.9-rc1 commit 30afc8c34290184c023fa79136ce5f8813fc73da category: cleanup bugzilla: https://gitee.com/openeuler/kernel/issues/IAHY3K Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=30afc8c34290184c023fa79136ce5f8813fc73da -------------------------------- The file parameter in the __remove_shared_vm_struct is no longer used, remove it. These functions vma_link() and mmap_region() have some of the same code, introduce vma_link_file() helper function to simplify the code. Link: https://lkml.kernel.org/r/20240110084622.2425927-1-yajun.deng@linux.dev Signed-off-by:Yajun Deng <yajun.deng@linux.dev> Signed-off-by:
Andrew Morton <akpm@linux-foundation.org> Conflicts: mm/mmap.c [ Context conflicts with commit 4f4042f1 and e8e17ee90eaf ] Signed-off-by:
Liu Shixin <liushixin2@huawei.com>