login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
September
»
23
Re: [RFC] New kernel-message logging API
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jan Engelhardt
Subject:
Re: [RFC] New kernel-message logging API
Date: Sunday, September 23, 2007 - 1: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, 12:27 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sat Sep 22, 5:13 pm)
Re: [RFC] New kernel-message logging API
, Kyle Moffett
, (Sat Sep 22, 5:40 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sat Sep 22, 5:47 pm)
Re: [RFC] New kernel-message logging API
, Miguel Ojeda
, (Sat Sep 22, 6:05 pm)
Re: [RFC] New kernel-message logging API
, Kyle Moffett
, (Sat Sep 22, 8:43 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Sun Sep 23, 1:39 am)
Re: [RFC] New kernel-message logging API
, Jan Engelhardt
, (Sun Sep 23, 1:45 am)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Sun Sep 23, 2:20 am)
Re: [RFC] New kernel-message logging API
, Jan Engelhardt
, (Sun Sep 23, 2:38 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sun Sep 23, 12:23 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Sun Sep 23, 12:25 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Sun Sep 23, 1:05 pm)
Re: [RFC] New kernel-message logging API
, Michael Holzheu
, (Mon Sep 24, 2:22 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 8:19 am)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Mon Sep 24, 9:43 am)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 10:00 am)
Re: [RFC] New kernel-message logging API
, Jesse Barnes
, (Mon Sep 24, 11:26 am)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Mon Sep 24, 1:37 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 4:51 pm)
Re: [RFC] New kernel-message logging API
, Joe Perches
, (Mon Sep 24, 5:10 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 6:18 pm)
Re: [RFC] New kernel-message logging API
, Rob Landley
, (Mon Sep 24, 6:46 pm)
Re: [RFC] New kernel-message logging API
, Vegard Nossum
, (Mon Sep 24, 10:27 pm)
Re: [RFC] New kernel-message logging API
, Michael Holzheu
, (Tue Sep 25, 1:57 am)
Re: [RFC] New kernel-message logging API
, Miguel Ojeda
, (Tue Sep 25, 10:24 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mathieu Desnoyers
[PATCH 01/10] local_t : architecture independant extension
Ingo Molnar
Re: 2.6.20-rc6-mm3
monstr
[PATCH 46/56] microblaze_v2: headers files entry.h current.h mman.h registers.h se...
alan
Re: Versioning file system
Jan Engelhardt
Re: Linux Security *Module* Framework (Was: LSM conversion to static interface)
git
:
Andy Parkins
git-fetch fails with error code 128
Johannes Sixt
Re: [PATCH v2 04/13] Teach rebase interactive the mark command
Yakov Lerner
Re: Autoconf/Automake
Miklos Vajna
Re: [IRC/patches] Failed octopus merge does not clean up
Johannes Sixt
Re: [msysGit] [PATCH 01/12] Fake reencoding success under NO_ICONV instead of retu...
linux-netdev
:
jamal
[net-next-2.6 PATCH 1/7] xfrm: introduce basic mark infrastructure
jamal
[net-next-2.6 PATCH 0/7] xfrm by MARK
Timo Teräs
ip xfrm policy semantics
Jeff Garzik
Re: [PATCH 1/5] sky2: phy setup changes
Ken-ichirou MATSUZAWA
Re: [PATCH] don't touch bridge sysfs in container.
git-commits-head
:
Linux Kernel Mailing List
No need to do lock_super() for exclusion in generic_shutdown_super()
Linux Kernel Mailing List
x86, msr: Export the register-setting MSR functions via /dev/*/msr
Linux Kernel Mailing List
MIPS: SMTC: Fix lockup in smtc_distribute_timer
Linux Kernel Mailing List
V4L/DVB (13840): smsusb: Add ISDB-T firmware for Hauppauge WinTV-Nova-T-MiniStick
Linux Kernel Mailing List
Input: gpio-keys - add support for disabling gpios through sysfs
openbsd-misc
:
Marco Peereboom
Re: Defending OpenBSD Performance
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Damon Schultz
Routing iTunes sharing across subnets using OpenBSD
Ashraf Cotu
Je sur comptable a la banque BCB je vais virée $6.million a la etranger
Chris Black
Re: carp, 2 router
Colocation donated by:
Syndicate