[lkml]   [2011]   [Jun]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: REGRESSION: Performance regressions from switching anon_vma->lock to mutex

> Yeah, I think it's ridiculous to say that glibc is not doing something stupid and that it's a problem with kernel interfaces.
> Do the proc file parsing once and cache the result in a static variable. Doing it over and over again is just crazy.
> Adding new system calls because glibc is crazy is insane.

Caching doesn't help because the library gets reinitialized in every child
(it may already do caching, not fully sure for this; it does it for
other sysconfs at least)

I don't think glibc is crazy in this. It has no other choice.


 \ /
  Last update: 2011-06-16 00:21    [W:0.123 / U:13.344 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site