netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
  • * Re: [PATCH - RFC] [1/2] 2.6 must-fix list - kernel error reporting
           [not found] <3F0AFFE6.E85FF283@us.ibm.com>
           [not found] ` <20030708105912.57015026.akpm@osdl.org>
    @ 2003-07-10  4:42 ` James Morris
      2003-07-10 19:08   ` Jim Keniston
      1 sibling, 1 reply; 17+ messages in thread
    From: James Morris @ 2003-07-10  4:42 UTC (permalink / raw)
      To: Jim Keniston
      Cc: LKML, netdev, Andrew Morton, David S. Miller, Jeff Garzik,
    	Alan Cox, Randy Dunlap
    
    On Tue, 8 Jul 2003, Jim Keniston wrote:
    
    +       kerror_nl = netlink_kernel_create(NETLINK_KERROR, kerror_netlink_rcv);
    +       if (kerror_nl == NULL)
    +               panic("kerror_init: cannot initialize kerror_nl\n");
    
    You can simply use NULL instead of passing the dummy kerror_netlink_rcv
    function.
    
    +struct kern_log_entry {
    +       __u16   log_kmagic;     /* always LOGREC_KMAGIC */
    +       __u16   log_kversion;   /* which version of this struct? */
    +       char    log_facility[FACILITY_MAXLEN];  /* e.g., driver name */
    
    These fields should generally be specified in ascending order to help with 
    alignment.
    
    It may also be worth looking at how the ULOG code batches messages to 
    improve peformance.
    
    
    
    
    - James
    -- 
    James Morris
    <jmorris@intercode.com.au>
    
    ^ permalink raw reply	[flat|nested] 17+ messages in thread

  • end of thread, other threads:[~2003-07-19 23:52 UTC | newest]
    
    Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
    -- links below jump to the message on this page --
         [not found] <3F0AFFE6.E85FF283@us.ibm.com>
         [not found] ` <20030708105912.57015026.akpm@osdl.org>
    2003-07-08 19:45   ` [PATCH - RFC] [1/2] 2.6 must-fix list - kernel error reporting Jim Keniston
    2003-07-10  4:42 ` James Morris
    2003-07-10 19:08   ` Jim Keniston
    2003-07-11 15:37     ` James Morris
    2003-07-12  5:09       ` David S. Miller
    2003-07-12  5:41       ` David S. Miller
    2003-07-13  1:17         ` James Morris
    2003-07-13  5:34           ` David S. Miller
    2003-07-15 17:42           ` [PATCH] [1/2] kernel error reporting (revised) Jim Keniston
    2003-07-15 17:45             ` [PATCH] [2/2] " Jim Keniston
    2003-07-15 19:51             ` [PATCH] [1/2] " Andrew Morton
    2003-07-15 23:10               ` kuznet
    2003-07-17 19:13               ` Jim Keniston
    2003-07-18  1:53                 ` James Morris
    2003-07-18 17:06                   ` Jim Keniston
    2003-07-18 23:29                   ` Jim Keniston
    2003-07-19 23:52                     ` James Morris
    

    This is a public inbox, see mirroring instructions
    for how to clone and mirror all data and code used for this inbox;
    as well as URLs for NNTP newsgroup(s).