Messages in this thread | | | Date | Fri, 17 Feb 2006 07:31:02 -0500 (EST) | From | Steven Rostedt <> | Subject | Re: [PATCH] deprecate the tasklist_lock export |
| |
On Fri, 17 Feb 2006, Christoph Hellwig wrote:
> On Wed, Feb 15, 2006 at 09:09:36AM -0500, Steven Rostedt wrote: > > Hmm, I have some debug modules that do use that lock. Is it possible to > > export it only if CONFIG_DEBUG_KERNEL? > > That doesn't make a whole lot of sense. What's your debug module doing? > Should we just put it in the tree as builtin-code under a debug option? >
Nah, It's not worth it. I have some mutex test modules that search the tasks to determine what priorities are there and uses that info for setting the priorities of the threads it creates. Yes, this can be done from userland as well, but i was being lazy and just wrote eveything in the module.
So, forget what I asked for and do what you want. These modules are really just for testing specific things that I work on and I can find other ways around it. Really the easiest thing is to just add the EXPORT myself since I need to recompile the kernel anyways.
Thanks anyway,
-- Steve
- 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/
| |