bpf: Add per-program recursion prevention mechanism
[linux-block.git] / tools / testing / selftests / bpf / prog_tests / fexit_stress.c
index 3b9dbf7433f0270bd92257b66f65e66eb038020a..7c9b62e971f1b7d1b1885b174c00fcd71ecb1f23 100644 (file)
@@ -2,8 +2,8 @@
 /* Copyright (c) 2019 Facebook */
 #include <test_progs.h>
 
-/* x86-64 fits 55 JITed and 43 interpreted progs into half page */
-#define CNT 40
+/* that's kernel internal BPF_MAX_TRAMP_PROGS define */
+#define CNT 38
 
 void test_fexit_stress(void)
 {