removing tq_name [Was: taskqueue_create() name parameter lieftime]

Andriy Gapon avg at freebsd.org
Sat Nov 20 10:00:38 UTC 2010


on 19/11/2010 18:58 John Baldwin said the following:
> On Friday, November 19, 2010 11:20:04 am Andriy Gapon wrote:
>> BTW, tq_name doesn't seem to be used anywhere at all.
>> Perhaps just drop it?  But still could be useful in a debugger, though.
> 
> If it's not used anywhere I would just drop it.
> 

struct taskqueue is defined privately in sys/kern/subr_taskqueue.c and tq_name
is used "write-only" in _taskqueue_create().

So, no use for tq_name at all?

-- 
Andriy Gapon


More information about the freebsd-current mailing list