2004-10-22 21:44:13

by Chris Wright

[permalink] [raw]
Subject: [PATCH] uninline __sigqueue_alloc

Christoph suggests letting the compiler choose. No real compelling reason
to inline anyhow. I had some vmlinux size numbers suggesting inline was
better, but re-running them on newer kernel is giving different results,
favoring uninline. Best let compiler choose. Un-inline __sigqueue_alloc.

Signed-off-by: Chris Wright <[email protected]>

===== kernel/signal.c 1.140 vs edited =====
--- 1.140/kernel/signal.c 2004-10-21 13:46:54 -07:00
+++ edited/kernel/signal.c 2004-10-22 14:00:00 -07:00
@@ -265,7 +265,7 @@
return sig;
}

-static inline struct sigqueue *__sigqueue_alloc(struct task_struct *t, int flags)
+static struct sigqueue *__sigqueue_alloc(struct task_struct *t, int flags)
{
struct sigqueue *q = NULL;