Re: [PATCH v5 2/7] mm, kasan: SLAB support

From: Andrey Ryabinin
Date: Fri Mar 11 2016 - 06:47:56 EST


2016-03-09 14:05 GMT+03:00 Alexander Potapenko <glider@xxxxxxxxxx>:

> +struct kasan_track {
> + u64 cpu : 6; /* for NR_CPUS = 64 */

What about NR_CPUS > 64 ?

> + u64 pid : 16; /* 65536 processes */
> + u64 when : 42; /* ~140 years */
> +};
> +