We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52012ae commit 892046eCopy full SHA for 892046e
fs/namespace.c
@@ -169,7 +169,7 @@ void mnt_release_group_id(struct mount *mnt)
169
/*
170
* vfsmount lock must be held for read
171
*/
172
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
173
{
174
#ifdef CONFIG_SMP
175
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1704,7 +1704,8 @@ static int do_umount_root(struct super_block *sb)
1704
return ret;
1705
}
1706
1707
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1708
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1709
1710
struct super_block *sb = mnt->mnt.mnt_sb;
1711
int retval;
0 commit comments