lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20081029062100.GB7936@elte.hu>
Date:	Wed, 29 Oct 2008 07:21:00 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Alexey Dobriyan <adobriyan@...il.com>
Cc:	torvalds@...l.org, viro@...iv.linux.org.uk,
	acme@...stprotocols.net, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] headers: reduction in interrupt.h


* Alexey Dobriyan <adobriyan@...il.com> wrote:

> >From 2255be0a5f55ffd58b0ebdf456cf77b7258889fe Mon Sep 17 00:00:00 2001
> From: Alexey Dobriyan <adobriyan@...il.com>
> Date: Wed, 29 Oct 2008 06:41:45 +0300
> Subject: [PATCH 2/2] headers: reduction in interrupt.h
> 
> 1. remove sched.h from interrupt.h, it's not needed for anything
> 2. remove sched.h from smp_lock.h, so (1) won't be a lie due to
> 
> 	linux/interrupt.h => linux/hardirq.h => linux/smp_lock.h => linux/sched.h
> 
>    After static inline reacquire_kernel_lock() was moved from there, inclusion
>    isn't needed.
> 3. remove also kernel.h, linkage.h, preempt.h, smp.h, asm/ptrace.h inclusions,
>    I manually checked every token.
> 4. fix fallout
> 
> The end result is that, e.g. i386 allyesconfig kernel shrinks (with all those
> bloated debuginfo sections) from 604.1 MB to 593.1 MB (-1.8 %).
> 
> Compile time should also improve simply because compiler will parse less.
> 
> Cross-compile tested on 469 configs, big and small, across many arches
> and a dozen of randconfigs.

very nice! Regarding my previous mail, we can move the BKL interfaces 
away from sched.c in another patch, i dont want this very cool header 
cleanup be held up.

Acked-by: Ingo Molnar <mingo@...e.hu>

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ