lkml.org 
[lkml]   [2016]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v8 1/9] Restartable sequences system call
On Fri, Aug 19, 2016 at 01:56:11PM -0700, Andi Kleen wrote:
> > 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.

Agreed, a competent default malloc() in glibc would be a very nice change
from the current state.

Thanx, Paul

\
 
 \ /
  Last update: 2016-09-17 09:57    [W:0.098 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site