lkml.org 
[lkml]   [2009]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] Introduce "struct wait_info" to simplify wait_task*() pathes

* Vitaly Mayatskikh <v.mayatskih@gmail.com> wrote:

> At Wed, 13 May 2009 11:13:58 -0700 (PDT), Roland McGrath wrote:
>
> > What's the benefit of this? Those parameters are probably
> > happily in registers and compiled well, I would guess. Adding
> > more memory copying does not seem like a benefit. Have you
> > verified that your change reduces code size or something like
> > that?
>
> Yeah, I was wrong. There's no benefit in size of .text

but there's a lot of benefit in cleanliness - just look at the
simplification of the prototypes.

Ingo


\
 
 \ /
  Last update: 2009-05-15 19:39    [W:0.049 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site