[PATCH 09/11] sched: export task_prio to GPL modules

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Thu Dec 1 22:20:46 UTC 2011


* Greg KH (greg at kroah.com) wrote:
> On Thu, Dec 01, 2011 at 10:56:08PM +0100, Peter Zijlstra wrote:
> > On Thu, 2011-12-01 at 16:41 -0500, Mathieu Desnoyers wrote:
> > > LTTng needs this symbol to prepend the current task dynamic priority
> > > value to events (optional context information).
> > 
> > I absolutely detest exporting such stuff. It propagates the idea that
> > task prio actually means something. Also, modules really shouldn't care.
> 
> Mathieu, if you don't have this information, does anything really care?

I can just remove this specific context module, nothing else will care
except the end users, but it's a shame to lose this option.

Thanks,

Mathieu

> 
> thanks,
> 
> greg k-h

-- 
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com



More information about the devel mailing list