[Bug 226974] kernel DSI read trap at boot

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 28 03:05:27 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=226974

--- Comment #5 from Mark Millard <marklmi26-fbsd at yahoo.com> ---
(In reply to Mark Millard from comment #4)

Another possible type of oddity:

static int
bd_flushall(struct bufdomain *bd)
{
. . .
        for (i = 0; i < mp_maxid; i++) {
                bq = &bd->bd_subq[i];

seems to exclude mp_maxid from its loop, unlike
bd_init's loop. And it has nothing for mp_ncpus
(or mp_maxid+1 if that is more appropriate).
(This last might be expected?)


DB_SHOW_COMMAND(bufqueues, bufqueues)
{
. . .
                for (j = 0; j < mp_maxid + 1; j++)
                        db_printf("%d, ", bd->bd_subq[j].bq_len);

has mp_maxid included (via a different technique),
but has nothing for mp_ncpu (or mp_maxid+1) compared
to bd_init. (This might be expected?)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ppc mailing list