l4-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: abstraction layer where?


From: Niels Möller
Subject: Re: abstraction layer where?
Date: 18 May 2003 21:37:04 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

"Volkmar Uhlig" <address@hidden> writes:

> > From: Marcus Brinkmann [mailto:address@hidden 

> > For example, auth returns four arrays.  On L4 I am tempted to 
> > just put a limit of 62 for nr_egids + nr_agids + nr_euids + nr_auids 
> > and define the get_ids interface to
> > [...snip...]

> I believe you try to tweak the wrong knobs. It is not the programmer
> which should do this hand-optimization but the IDL compiler. The IDL
> compiler should know in what cases it is more efficient to use MRs and
> when to use indirect strings.

Then the input to the IDL compiler should contain some hints, saying
that for a particular variable length array, the small length case is
important. I don't think we want the kind of optimizations Marcus is
describing applied to *all* variable length arrays.

/Niels




reply via email to

[Prev in Thread] Current Thread [Next in Thread]