tech-kern archive

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

biodone vs. BUFQ_PEEK

While looking for something completely different I found this fragment of

        if (cpu_intr_p()) {
                TAILQ_INSERT_TAIL(&curcpu()->ci_data.cpu_biodone, bp, b_actq);

This should lead to the corruption of b_actq if the buffer was dequeued with
BUFQ_PEEK() that leaves the buffer on the queue (using b_actq).

Juergen Hannken-Illjes - - TU Braunschweig 

Home | Main Index | Thread Index | Old Index