Bug 218311

Summary: stackdepot: use STACK_BUCKET_NUMBER_ORDER_MAX with KMSAN
Product: Memory Management Reporter: Andrey Konovalov (andreyknvl)
Component: SanitizersAssignee: MM/Sanitizers virtual assignee (mm_sanitizers)
Status: NEW ---    
Severity: normal CC: kasan-dev
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:

Description Andrey Konovalov 2023-12-25 15:42:20 UTC
Currently, the stack depot code uses the maximum number of hash table buckets STACK_BUCKET_NUMBER_ORDER_MAX when KASAN is enabled, as KASAN saves a large amount of stack traces.

We might want to use STACK_BUCKET_NUMBER_ORDER_MAX with KMSAN as well, for the same reason.