Re: [RFC PATCH v8 1/9] Restartable sequences system call

From: Andi Kleen
Date: Fri Aug 19 2016 - 16:56:20 EST


> Nobody gets a cpu number just to get a cpu number - it's not a useful
> thing to benchmark. What does getcpu() so much that we care?

malloc is the primary target I believe. Saves lots of memory to keep
caches per CPU rather than per thread.

-Andi