lkml.org 
[lkml]   [1999]   [Jun]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Profanity in the Linux Kernel?!?!?
On Fri, 11 Jun 1999, Horst von Brand wrote:

> OK, so you have a point. How about looking around for comments or printk's
> that arent't clear enough (foul language or not) and proposing patches, or
> at least asking the relevant maintainers or this list what the
> message/comment should say and asking for clarification? Call it "Kernel
> Language Spring Cleaning Project" (KLSC for short, so it's a 4-letter word ;-)
>
> Bitching here about foul language in general doesn't get the kernel anywhere.

Except that you all havn't been looking at actual kernel code. Here's
an actual segment of code from the kernel (arch/sparc64/kernel/traps.c):

printk("SHIT[%s:%d]: "
"(PP[%016lx] CACH[%016lx] CTX[%x] g1g3[%016lx] g2[%016lx]) ",
current->comm, current->pid,
pgd_phys, pgd_cache, ctx, g1_or_g3, g2);
printk("SHIT[%s:%d]: "
"[PP[%016lx] CACH[%016lx] CTX[%x:%x]] PC[%016lx:%016lx]\n",
current->comm, current->pid,
__pa(current->mm->pgd),
pgd_val(current->mm->pgd[0]),
current->mm->context & 0x3ff,
current->tss.ctx,
regs->tpc, regs->tnpc);

As you can see, LOTS of info is printed out. I don't really follow what
it all means, except the 'SHIT', which happily tells me something BAD happened. :)
Of course, for all I know 'SHIT' could be a valid reister. ;)


Stephen


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

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