login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
23
Re: [RFC] New kernel-message logging API
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Jan Engelhardt <jengelh@...>
To: Vegard Nossum <vegard.nossum@...>
Cc: Joe Perches <joe@...>, LKML <linux-kernel@...>, holzheu <holzheu@...>, Rob Landley <rob@...>, Dick Streefland <dick.streefland@...>
Subject:
Re: [RFC] New kernel-message logging API
Date: Sunday, September 23, 2007 - 4:45 am
On Sep 23 2007 10:39, Vegard Nossum wrote:
quoted text
>On 9/23/07, Joe Perches <joe@perches.com> wrote: >> On Sat, 2007-09-22 at 21:27 +0200, Vegard Nossum wrote: >> > #define kprint(fmt, ...) >> >> Good ideas. Perhaps a prefix of klog or kp_ instead? >> Given the number of 80 column zealots, character naming length matters. > >I don't know. Compare the following two lines: > >printk(KERN_INFO "Message.\n"); >kprint_info("Message."); > >By dropping the lengthy macro (it's not like it's going to change >while we're running anyway, so why not make it a part of the function >name?) and the final newline, we actually end up with a net decrease >in line length. > >I thought it would be nice to have something that looks familiar, >since that would ease an eventual transition. klog is a valid >alternative, but isn't kp a bit cryptic?
I'd rather fix up code to reduce its indent rather than trying microoptimizations at the function name level! -
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[RFC] New kernel-message logging API
, Vegard Nossum
, (Sat Sep 22, 3:27 pm)
Re: [RFC] New kernel-message logging API
, Jesse Barnes
, (Mon Sep 24, 2:26 pm)
Re: [RFC] New kernel-message logging API
, Michael Holzheu
, (Mon Sep 24, 5:22 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 11:19 am)
Re: [RFC] New kernel-message logging API
, Michael Holzheu
, (Tue Sep 25, 4:57 am)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 7:51 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 8:10 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 9:46 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Mon Sep 24, 12:43 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 1:00 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Mon Sep 24, 4:37 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 9:18 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Sun Sep 23, 4:05 pm)
Re: [RFC] New kernel-message logging API
, Miguel Ojeda
, (Sat Sep 22, 9:05 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Tue Sep 25, 1:27 am)
Re: [RFC] New kernel-message logging API
, Miguel Ojeda
, (Tue Sep 25, 1:24 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sat Sep 22, 8:13 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Sun Sep 23, 4:39 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sun Sep 23, 3:25 pm)
Re: [RFC] New kernel-message logging API
, Jan Engelhardt
, (Sun Sep 23, 4:45 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sun Sep 23, 3:23 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Sun Sep 23, 5:20 am)
Re: [RFC] New kernel-message logging API
, Jan Engelhardt
, (Sun Sep 23, 5:38 am)
Re: [RFC] New kernel-message logging API
, Kyle Moffett
, (Sat Sep 22, 8:40 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sat Sep 22, 8:47 pm)
Re: [RFC] New kernel-message logging API
, Kyle Moffett
, (Sat Sep 22, 11:43 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Steven Rostedt
Re: Major regression on hackbench with SLUB
Nick Piggin
2.6.24-rc2 slab vs slob tbench numbers
Paul Jackson
Re: cpuset-remove-sched-domain-hooks-from-cpusets
git
:
linux-netdev
:
David Miller
Re: [GIT]: Networking
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
[PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Frans Pop
svc: failed to register lockdv1 RPC service (errno 97).
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
625 guests
online.
Online users
altaenbuscgrt
zhipeng.gong
Syndicate