lkml.org 
[lkml]   [2008]   [Jan]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 3/4] printk: implement merging printk
    Randy Dunlap wrote:
    > On Wed, 16 Jan 2008 10:00:09 +0900 Tejun Heo wrote:
    >
    >
    >> ---
    >> include/linux/kernel.h | 71 ++++++++++++++++
    >> kernel/printk.c | 215 ++++++++++++++++++++++++++++++++++++++++++++++++
    >> 2 files changed, 286 insertions(+), 0 deletions(-)
    >>
    >> diff --git a/include/linux/kernel.h b/include/linux/kernel.h
    >> index ade3ac9..f92a4a1 100644
    >> --- a/include/linux/kernel.h
    >> +++ b/include/linux/kernel.h
    >> @@ -175,6 +175,29 @@ extern struct pid *session_of_pgrp(struct pid *pgrp);
    >> extern void dump_thread(struct pt_regs *regs, struct user *dump);
    >>
    >> #ifdef CONFIG_PRINTK
    >> +struct mprintk {
    >> + char * header;
    >> + char * body;
    >> + char * cur;
    >> + char * prv;
    >> + char * end;
    >
    > We aren't very consistent about this, but I think that we would prefer
    >
    > char *header;
    >
    > etc. there.

    That's my preference too. Dunno why I wrote like the above here. Will
    change.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2008-01-16 04:11    [W:3.822 / U:0.148 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site