diff --git a/kernel/time/posix-timers.c b/kernel/time/posix-timers.c index b0bda93c595d85897c48b702dd7ffaa997ff8f67..aebb6124040069dff1f2f91b83c09c384cf7151a 100644 --- a/kernel/time/posix-timers.c +++ b/kernel/time/posix-timers.c @@ -268,8 +268,8 @@ static int posix_get_hrtimer_res(clockid_t which_clock, struct timespec64 *tp) static __init int init_posix_timers(void) { posix_timers_cache = kmem_cache_create("posix_timers_cache", - sizeof (struct k_itimer), 0, SLAB_PANIC, - NULL); + sizeof(struct k_itimer), 0, + SLAB_PANIC | SLAB_ACCOUNT, NULL); return 0; } __initcall(init_posix_timers);