We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05f09f3 commit fa57c83Copy full SHA for fa57c83
fs/namespace.c
@@ -163,7 +163,7 @@ void mnt_release_group_id(struct mount *mnt)
163
/*
164
* vfsmount lock must be held for read
165
*/
166
-static inline void mnt_add_count(struct mount *mnt, int n)
+static noinline __noclone void mnt_add_count(struct mount *mnt, int n)
167
{
168
#ifdef CONFIG_SMP
169
this_cpu_add(mnt->mnt_pcp->mnt_count, n);
@@ -1590,7 +1590,8 @@ static int do_umount_root(struct super_block *sb)
1590
return ret;
1591
}
1592
1593
-static int do_umount(struct mount *mnt, int flags)
+/* force a bpftrace dynamic function probe here */
1594
+static noinline __noclone int do_umount(struct mount *mnt, int flags)
1595
1596
struct super_block *sb = mnt->mnt.mnt_sb;
1597
int retval;
0 commit comments