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

From: Ranjeet Shetye (ranjeet.shetye@zultys.com)
Date: Fri Jan 03 2003 - 19:20:43 EST


I vote for "panic ()" in kernel/panic.c

The panic output makes my heart sink everytime single time.

If only the Linux kernel had something as heart-warming as FreeBSD's
"diediedie ()". :D

Ranjeet Shetye
Senior Software Engineer

> -----Original Message-----
> From: linux-kernel-owner@vger.kernel.org
> [mailto:linux-kernel-owner@vger.kernel.org] On Behalf Of
> William Lee Irwin III
> Sent: Friday, January 03, 2003 3:39 PM
> To: Maciej Soltysiak
> Cc: linux-kernel@vger.kernel.org
> Subject: Re: [STUPID] Best looking code to transfer to a t-shirt
>
>
> 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/

-
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/



This archive was generated by hypermail 2b29 : Tue Jan 07 2003 - 22:00:23 EST