Patch "workqueue: Increase worker desc's length to 32" has been added to the 6.9-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    workqueue: Increase worker desc's length to 32

to the 6.9-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     workqueue-increase-worker-desc-s-length-to-32.patch
and it can be found in the queue-6.9 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 5b2122bdc1d6391382b552ebb35d0a6500a05374
Author: Wenchao Hao <haowenchao22@xxxxxxxxx>
Date:   Thu Jun 6 16:52:15 2024 +0800

    workqueue: Increase worker desc's length to 32
    
    [ Upstream commit 231035f18d6b80e5c28732a20872398116a54ecd ]
    
    Commit 31c89007285d ("workqueue.c: Increase workqueue name length")
    increased WQ_NAME_LEN from 24 to 32, but forget to increase
    WORKER_DESC_LEN, which would cause truncation when setting kworker's
    desc from workqueue_struct's name, process_one_work() for example.
    
    Fixes: 31c89007285d ("workqueue.c: Increase workqueue name length")
    
    Signed-off-by: Wenchao Hao <haowenchao22@xxxxxxxxx>
    CC: Audra Mitchell <audra@xxxxxxxxxx>
    Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/include/linux/workqueue.h b/include/linux/workqueue.h
index 158784dd189ab..72031fa804147 100644
--- a/include/linux/workqueue.h
+++ b/include/linux/workqueue.h
@@ -92,7 +92,7 @@ enum wq_misc_consts {
 	WORK_BUSY_RUNNING	= 1 << 1,
 
 	/* maximum string length for set_worker_desc() */
-	WORKER_DESC_LEN		= 24,
+	WORKER_DESC_LEN		= 32,
 };
 
 /* Convenience constants - of type 'unsigned long', not 'enum'! */




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux