google / kernel-sanitizers

Linux Kernel Sanitizers, fast bug-detectors for the Linux kernel
https://google.github.io/kernel-sanitizers/
442 stars 87 forks source link

Check that allocator does not introduce lots of unnecessary synchronization #207

Open dvyukov opened 9 years ago

dvyukov commented 9 years ago

We need to double check that memory allocator (slab, slub) does not introduce lots of unnecessary synchronization. We need to ignore all synchronization in the allocator. Otherwise even fast-path will synchronize threads on per-cpu cache. Slow path will synchronize even threads running on different cpus. We should ignore that synchronization as much as possible.