Date: Sat, 20 Nov 2010 12:00:34 +0200 From: Andriy Gapon <avg@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org> Subject: removing tq_name [Was: taskqueue_create() name parameter lieftime] Message-ID: <4CE79C42.6000103@freebsd.org> In-Reply-To: <201011191158.19118.jhb@freebsd.org> References: <4CE2771F.8020109@freebsd.org> <201011160827.11628.jhb@freebsd.org> <4CE6A3B4.2080604@freebsd.org> <201011191158.19118.jhb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CE79C42.6000103>