The patch titled Subject: ipc-shmc-add-pagesize-function-to-shm_vm_ops-v2 has been removed from the -mm tree. Its filename was ipc-shmc-add-pagesize-function-to-shm_vm_ops-v2.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Jane Chu <jane.chu@xxxxxxxxxx> Subject: ipc-shmc-add-pagesize-function-to-shm_vm_ops-v2 relocate comment Link: http://lkml.kernel.org/r/20180731044831.26036-1-jane.chu@xxxxxxxxxx Signed-off-by: Jane Chu <jane.chu@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/mm.h | 7 ------- mm/hugetlb.c | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) --- a/include/linux/mm.h~ipc-shmc-add-pagesize-function-to-shm_vm_ops-v2 +++ a/include/linux/mm.h @@ -389,13 +389,6 @@ enum page_entry_size { * These are the virtual MM functions - opening of an area, closing and * unmapping it (needed to keep files on disk up-to-date etc), pointer * to the functions called when a no-page or a wp-page exception occurs. - * - * Note, when a new function is introduced to vm_operations_struct and - * added to hugetlb_vm_ops, please consider adding the function to - * shm_vm_ops. This is because under System V memory model, though - * mappings created via shmget/shmat with "huge page" specified are - * backed by hugetlbfs files, their original vm_ops are overwritten with - * shm_vm_ops. */ struct vm_operations_struct { void (*open)(struct vm_area_struct * area); --- a/mm/hugetlb.c~ipc-shmc-add-pagesize-function-to-shm_vm_ops-v2 +++ a/mm/hugetlb.c @@ -3167,6 +3167,13 @@ static vm_fault_t hugetlb_vm_op_fault(st return 0; } +/* + * When a new function is introduced to vm_operations_struct and added + * to hugetlb_vm_ops, please consider adding the function to shm_vm_ops. + * This is because under System V memory model, mappings created via + * shmget/shmat with "huge page" specified are backed by hugetlbfs files, + * their original vm_ops are overwritten with shm_vm_ops. + */ const struct vm_operations_struct hugetlb_vm_ops = { .fault = hugetlb_vm_op_fault, .open = hugetlb_vm_op_open, _ Patches currently in -mm which might be from jane.chu@xxxxxxxxxx are -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html