Re: [External] Re: [PATCH] hugetlbfs: check dir in trace_hugetlbfs_alloc_inode

2025-01-12 Thread 朱晓辉
Got it, thanks > From: "Hongbo Li" > Date:  Mon, Jan 13, 2025, 11:29 > Subject:  [External] Re: [PATCH] hugetlbfs: check dir in > trace_hugetlbfs_alloc_inode > To: "zhuxiaohui", , > , , , > , > Cc: "Xiaohui Zhu" > On

Re: [PATCH] hugetlbfs: check dir in trace_hugetlbfs_alloc_inode

2025-01-12 Thread Hongbo Li
On 2025/1/13 11:07, zhuxiaohui wrote: From: Xiaohui Zhu Anonymous huge page has no corresponding directory inode, which cause a null pointer crash when access dir with the stack trace_hugetlbfs_alloc_inode hugetlbfs_get_inode hugetlb_file_setup ksys_mmap_pgoff Signed-off-by: Xi

[PATCH] hugetlbfs: check dir in trace_hugetlbfs_alloc_inode

2025-01-12 Thread zhuxiaohui
From: Xiaohui Zhu Anonymous huge page has no corresponding directory inode, which cause a null pointer crash when access dir with the stack trace_hugetlbfs_alloc_inode hugetlbfs_get_inode hugetlb_file_setup ksys_mmap_pgoff Signed-off-by: Xiaohui Zhu --- include/trace/events/hugetlbfs.