:       next_index += PQ_L2_SIZE/4;
:       if (next_index > PQ_L2_MASK)
:               next_index = (next_index + 1) & PQ_L2_MASK;

    Oops, make that:

        next_index += PQ_L2_SIZE/4;
        if (next_index > PQ_L2_MASK)
                next_index = (next_index + PQ_PRIME1) & PQ_L2_MASK;

    Or even just:

        next_index = (next_index + PQ_PRIME1) & PQ_L2_MASK;

    Both seem to work pretty well w/ lmbench, though nothing really sticks
    its nose out.

                                        -Matt
                                        Matthew Dillon 
                                        <dil...@backplane.com>

To Unsubscribe: send mail to majord...@freebsd.org
with "unsubscribe freebsd-current" in the body of the message

Reply via email to