Inapropriate inlining in ci/include/cluster/synch.h
John Hughes <[email protected]>
| Newsgroups | gmane.linux.cluster.ssic.devel |
|---|---|
| Message-ID | <[email protected]> |
We have:
static inline void _ssi_wait_event(EVENT_T *eventp, int intr, int *was_intrp)
{
EVENT_WAIT_T evwait;
sigset_t old_blocked;
task_t *tsk = current;
unsigned long flags;
int interrupted = 0;
That's rather a lot to inline. The 3 calls in icssvr_daemon take up
around 84 bytes of stack.
(Ok, not a lot in itself, but with 4k stacks it soon adds up).
As it's probably going to spend a lot of time waiting I doubt it's that
performance critical either.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword