[lkml]   [2011]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/2] mm, Make __get_user_pages return -EHWPOISON for HWPOISON page optionally
> > Also longer term we'll get compilers that can do cross-file inlining
> > for optimized builds.
> Which we'll probably need to turn off all over the place :(


> > So please better avoid these kinds of micro optimizations unless
> > it's a really really extremly speed critical path.
> It's not just speed and it's not just .text size, either. Calling a
> ten-arg function consumes stack space.

gcc is pretty good at handling tail calls. Take a look at the code
it generates.

-- -- Speaking for myself only.

 \ /
  Last update: 2011-01-28 08:41    [W:0.060 / U:0.224 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site