Re: [GIT PATCH] driver core patches for your 2.6-git tree

From: Jason Baron
Date: Fri Oct 17 2008 - 11:33:19 EST


On Thu, Oct 16, 2008 at 10:09:55AM -0700, Greg KH wrote:
> Here is the driver core patchset for your 2.6-git tree.
>
> Highlights include:

> - dynamic dev_printk() patch, allows debugging to be turned on
> the fly, instead of at build time. This is very good and has
> been in the opensuse beta releases already with much success.

while I think this is a good feature b/c it allows dynamically turning debug
information on/off at runtime, and it creates a standard framework for
all the DEBUGP, dprintk, DEBUG, calls that each subsystems defines for
itself, there was some resistance to this approach in another thread,
see: http://marc.info/?l=linux-kernel&m=122164181331567&w=2
I am adding the relevant parties to the 'cc here in the interest of making sure
interested parties are aware of this patch proposal.

One concern, raised in the other thread was that subsystems might want
to use their own defined tags, as opposed to KBUILD_MODNAME, which is
used by default to group together debugging control. Layering this tag
ability on top of this patchset is not hard, and I already have patches
which begin to do that...Also, this patch allows passing one command
line argument to enable all debugging which can later be turn on/off
as desired. This patch already stands on its own in enabling all pr_debug and
dev_dbg calls to be dynamically enabled.

thanks,

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