Re: [PATCH v0] header redux: remove sched.h from interrupt.h

From: Arnaldo Carvalho de Melo
Date: Tue Oct 14 2008 - 12:01:11 EST


Em Tue, Oct 14, 2008 at 07:45:10PM +0400, Alexey Dobriyan escreveu:
> I'm going to send this slightly before -rc1 or right after -rc1.
>
> It lives at
>
> git://git.kernel.org/pub/scm/linux/kernel/git/adobriyan/headers.git headers
>
> Further reduction ideas are welcome.
>
>
> 1) remove sched.h from interrupt.h
> 2) remove sched.h from smp_lock.h (interrupt.h => hardirq.h => smp_lock.h)
> 3) for (2) move release_kernel_lock(), reacquire_kernel_lock() to
> kernel/sched.c -- they're only used by scheduler and low-level enough
> to now allow in drivers.
> 4) insert sched.h and less-bloated headers where needed.
>
> [insert recompile redux here]
> [insert *.i bloat redux here]
> [insert cross-compile status here]

I would love to see before and after sizes for debuginfo, i.e. compile
with CONFIG_DEBUG_INFO and check the sizes of the debug sections.

- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/