Stack depth of 255 seems excessive, given that copy_from_user_nmi() could be slow.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -555,7 +555,7 @@ enum perf_event_type { · 554 unmodified lines | ||
| 555 | 555 | PERF_RECORD_MAX, /* non-ABI */ |
| 556 | 556 | }; |
| 557 | 557 | |
| 558 | −#define PERF_MAX_STACK_DEPTH 255 | |
| 558 | +#define PERF_MAX_STACK_DEPTH 127 | |
| 559 | 559 | |
| 560 | 560 | enum perf_callchain_context { |
| 561 | 561 | PERF_CONTEXT_HV = (__u64)-32, |