On Wednesday 02 July 2008, stephane eranian wrote:
> The main worry is the limit on the number of syscall parameters which
> is typically fairly low (8).

Actually, six is the number of arguments that is safe on all known
architectures, if you go above that, you already have to do extra
work.

> Of course, this could be compensated by passing a struct instead.

If you need that many arguments, there is usally another problem
in the interface, so using a struct does not make it better.

Can you already think of a case where you need more than six arguments?

        Arnd <><

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
perfmon2-devel mailing list
perfmon2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perfmon2-devel

Reply via email to