Re: [STUPID] Best looking code to transfer to a t-shirt

William Lee Irwin III (wli@holomorphy.com)
Fri, 3 Jan 2003 15:39:27 -0800


On Fri, Jan 03, 2003 at 02:25:09PM +0100, Maciej Soltysiak wrote:
> I am in a t-shirt transfering frenzy and was wondering which part of the
> kernel code it would be best to have on my t-shirt.
> I was looking at my favourite: netfilter code, but it is to clean, short
> and simple functions, no tons of pointers, no mallocs, no hex numbers, too
> many defines used. I was looking for something terribly complicated and
> looking awesome to the eye.
> How about we have a poll of the most frightening pieces of the kernel ?
> What are your ideas?

sheer bulk: include/asm-ia64/sn/sn2/shub_mmr.h
most typedefs: include/asm-ia64/sn/sn2/shub_mmr_t.h
bizarre (and ugly) idiom: fs/devfs/*.c
just plain ugly: arch/i386/kernel/cpu/mtrr/generic.c
really crusty-looking: drivers/char/*tty*.c
terrifying ultra-legacyness: drivers/ide/legacy/hd.c
fishiness: drivers/usb/serial/pl2303.c
why so much code?: drivers/char/dz.c
highly cleanup-resistant: mm/slab.c
unusual preprocessor games: kernel/cpufreq.c
contrived inefficiency: fs/proc/inode.c:proc_fill_super()

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