linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] Removing dead code
@ 2010-06-09  9:58 Christoph Egger
  2010-06-09  9:59 ` [PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS Christoph Egger
                   ` (6 more replies)
  0 siblings, 7 replies; 17+ messages in thread
From: Christoph Egger @ 2010-06-09  9:58 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, Paul Mackerras, Kumar Gala,
	Stephen Rothwell, Torez Smith, Dave Kleikamp, Josh Boyer,
	Albert Herranz, Grant Likely, Li Yang, Tejun Heo,
	Thadeu Lima de Souza Cascardo, Huang Weiyi, linuxppc-dev,
	linux-kernel
  Cc: vamos

Hi all!

        As part of the VAMOS[0] research project at the University of
Erlangen we are looking at multiple integrity errors in linux'
configuration system.

	      I've been running a check on the arch/powerpc sourcetree
	      for
config Items not defined in Kconfig and found5 such chases. Sourcecode
blocks depending on these Items are not reachable from a vanilla
kernel -- dead code. I've seen such dead blocks made on purpose
e.g. while integrating new features into the kernel but generally
they're just useless. 

	Each of the patches in this patchset removes on such dead
config Item, I'd be glad if you consider applying them. I've been
doing deeper analysis of such issues before and can do so again but
I'm not so sure they were fastly usefull. However I've done a
testbuild on ppc with allmodconfig so it should at least build.

        Please keep me informed of this patch getting confirmed /
merged so we can keep track of it.

Regards

        Christoph Egger

[0] http://vamos1.informatik.uni-erlangen.de/

Christoph Egger (5):
  Removing dead BOOK3E_MMU_TLB_STATS
  Removing dead CONFIG_HIGHPTE
  Removing dead CONFIG_SMP_750
  Removing dead CONFIG_SERIAL_TEXT_DEBUG
  Removing dead CONFIG_PPC47x

 arch/powerpc/include/asm/exception-64e.h |   38 ------------------------------
 arch/powerpc/kernel/head_40x.S           |   19 ---------------
 arch/powerpc/mm/44x_mmu.c                |    4 ---
 arch/powerpc/mm/pgtable_32.c             |    4 ---
 arch/powerpc/mm/tlb_hash32.c             |    4 ---
 arch/powerpc/mm/tlb_low_64e.S            |    9 -------
 6 files changed, 0 insertions(+), 78 deletions(-)

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-06-11  7:34 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09  9:58 [PATCH 0/5] Removing dead code Christoph Egger
2010-06-09  9:59 ` [PATCH 1/5] Removing dead BOOK3E_MMU_TLB_STATS Christoph Egger
2010-06-10  5:20   ` Benjamin Herrenschmidt
2010-06-09  9:59 ` [PATCH 2/5] Removing dead CONFIG_HIGHPTE Christoph Egger
2010-06-09 10:00 ` [PATCH 3/5] Removing dead CONFIG_SMP_750 Christoph Egger
2010-06-09 12:35   ` Josh Boyer
2010-06-10  6:14     ` Benjamin Herrenschmidt
2010-06-10 12:23       ` Christoph Egger
2010-06-11  6:41         ` Benjamin Herrenschmidt
2010-06-09 10:00 ` [PATCH 4/5] Removing dead CONFIG_SERIAL_TEXT_DEBUG Christoph Egger
2010-06-09 10:28   ` Josh Boyer
2010-06-09 10:01 ` [PATCH 5/5] Removing dead CONFIG_PPC47x Christoph Egger
2010-06-09 11:02 ` [PATCH 5b/5] " Christoph Egger
2010-06-09 12:05   ` Josh Boyer
2010-06-10  8:59     ` Benjamin Herrenschmidt
2010-06-10 18:46 ` [PATCH 0/5] Removing dead code Joe Perches
2010-06-11  7:26   ` Reinhard Tartler

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).