]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r324445:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Oct 2017 10:07:17 +0000 (10:07 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Oct 2017 10:07:17 +0000 (10:07 +0000)
commitd67179ec7d40605fca23fb6a06b8a26cc6093661
treefbdaf284db698d7b1bff0826f88bd1e25e8219c9
parentdd44f2142609fdc875fa2e88e12f49b5ecd5d1e6
MFC r324445:
When showing the sleepqueues from the in-kernel debugger,
properly dump all the sleepqueues and not just the first one

History:
It appears that in the commit which introduced the code,
r165272, the array indexes of "sq_blocked[0]" and "td_name[i]"
were interchanged. In r180927 "td_name[i]" was corrected to
"td_name[0]", but "sq_blocked[0]" was left unchanged.

PR: 222624
Discussed with: kmacy @
Sponsored by: Mellanox Technologies

git-svn-id: svn://svn.freebsd.org/base/stable/9@324801 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/subr_sleepqueue.c