LWN: Comments on "Workqueues get a rework" https://lwn.net/Articles/211279/ This is a special feed containing comments posted to the individual LWN article titled "Workqueues get a rework". en-us Tue, 14 Oct 2025 05:08:11 +0000 Tue, 14 Oct 2025 05:08:11 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Workqueues get a rework https://lwn.net/Articles/239495/ https://lwn.net/Articles/239495/ dibacco73 If I understand correctly, the workqueue API are very uncomfortable. If I queue_work the same task (function) that is already in the queue with a different parameter (data), it is rejected, why is there not an API to queue a work that copies the structure instead of simply using its pointer? Or probably is better that the user kmalloc the work and then, when the work is completed, the work is freed. <br> <p> Bye,<br> Antonio.<br> Fri, 22 Jun 2007 20:38:22 +0000 Workqueues get a rework https://lwn.net/Articles/212143/ https://lwn.net/Articles/212143/ aleXXX Yes, struct delayed_work and struct work_struct sucks. <br> IMO it should be struct delayed_work_struct and struct work_struct or <br> just struct delayed_work and struct work. <br> <br> Alex <br> <br> Thu, 30 Nov 2006 21:53:51 +0000 Workqueues get a rework https://lwn.net/Articles/212030/ https://lwn.net/Articles/212030/ Randakar <p> If you read Morton's complaint, he's replying to this:<br> <p> David Howells &lt;dhowells@redhat.com&gt; wrote:<br> <p> <font class="QuotedText">&gt; These patches shrink work_struct by 8 of the 12 words it ordinarily </font><br> <font class="QuotedText">&gt; consumes.</font><br> <p> So that would be saving 8 * 8 = 64 bytes.<br> Not bad at all.<br> Thu, 30 Nov 2006 14:44:13 +0000 Workqueues get a rework https://lwn.net/Articles/211988/ https://lwn.net/Articles/211988/ dvrabel You'd think that while changing the API they'd drop the redundant _struct in struct work_struct etc.<br> Thu, 30 Nov 2006 10:55:24 +0000 Workqueues get a rework https://lwn.net/Articles/211989/ https://lwn.net/Articles/211989/ kzin ...so how much did it save? We go down from 96 bytes on 64-bit machines to what?<br> Thu, 30 Nov 2006 10:54:28 +0000 Workqueues get a rework https://lwn.net/Articles/211983/ https://lwn.net/Articles/211983/ eskild Ok, I know this won't be at the top of the list of "most important posts on LWN, ever", but anyway: In my native language, Danish, "nar" means "fool". So "DECLARE_WORK_NAR" initially caught my eye and my coffeine-overloaded brain read it as "Declare a work fool?!" It's funny, it's so easy to use a spelling or abbreviation that's "interesting" in at least one other foreign language. Someone I know created an in-house tool with a name aimed at conveying "speed" to the users. Well, speed in Danish is "fart". Not good. Not good at all. :-)<br> Thu, 30 Nov 2006 10:14:50 +0000