Andrew Morton wrote: > On Fri, 12 Feb 2010 17:20:22 -0600 Jason Wessel wrote: > > >> If you feel that would be cleaner, I can make that change, but I would >> also have to call vprintk() from vkdb_printf when ever kdb_trap_printk >> is not set. Do I understand your recommendation correctly? >> >> > > Was trying to find > a way to avoid the code duplication. > > > You did make me think about the interface a bit further. If you were going to ack one of the versions of this patch, which would you prefer? The previous version, this new version or something else? The difference here is that we use a replaced function call vs using the if statement. There are more lines source in the kdb, but the interface api is clean. Thanks, Jason.