lkml.org 
[lkml]   [2003]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRE: [STUPID] Best looking code to transfer to a t-shirt
Date

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/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.100 / U:0.212 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site