]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r324445:
authorhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Oct 2017 10:06:02 +0000 (10:06 +0000)
committerhselasky <hselasky@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 20 Oct 2017 10:06:02 +0000 (10:06 +0000)
commit766498ade2721c22fd9fc6b4f87586ca125fd0a5
tree0a2f10bc2a8fc9ba085425f74dc1a83c78909ee3
parent9f9b6255a434a8a282b3666f6c9e76ad3c088e3f
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/10@324800 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/kern/subr_sleepqueue.c