--- zzzz-none-000/linux-5.15.111/include/linux/slab.h 2023-05-11 14:00:40.000000000 +0000 +++ puma7-arm-6670-761/linux-5.15.111/include/linux/slab.h 2024-02-07 09:28:07.000000000 +0000 @@ -39,6 +39,14 @@ #define SLAB_STORE_USER ((slab_flags_t __force)0x00010000U) /* Panic if kmem_cache_create() fails */ #define SLAB_PANIC ((slab_flags_t __force)0x00040000U) + +#if defined(CONFIG_DEBUG_SLAB_AVM_LITE) +#define SLAB_STORE_USER_AND_TIME 0x00020000UL /* DEBUG_SLAB_AVM_LITE: Store the last owner for oom-analyzing */ + +#if defined(CONFIG_DEBUG_SLAB) +#error conflict DEBUG_SLAB versus DEBUG_SLAB_AVM_LITE +#endif +#endif/*--- #if defined(CONFIG_DEBUG_SLAB_AVM_LITE) ---*/ /* * SLAB_TYPESAFE_BY_RCU - **WARNING** READ THIS! *