lkml.org 
[lkml]   [2016]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH v5 2/7] mm, kasan: SLAB support
From
2016-03-09 14:05 GMT+03:00 Alexander Potapenko <glider@google.com>:

> +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 */
> +};
> +

\
 
 \ /
  Last update: 2016-03-11 13:41    [W:0.146 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site