tech-kern archive

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

Re: devmon-lite for 5.0



On Thu, 29 May 2008, Jachym Holecek wrote:
Drvctl_close() should release dce_event object when flushing event
queue.

It does (are you looking at the code in-tree?), unless I'm missing something:

                /* flush queue */
                while ((dce = TAILQ_FIRST(&drvctl_eventq)) != NULL) {
                        TAILQ_REMOVE(&drvctl_eventq, dce, dce_link);
                        KASSERT(drvctl_eventcnt > 0);
                        --drvctl_eventcnt;
                        kmem_free(dce, sizeof(*dce));
                }

Cheers,
Jared


Home | Main Index | Thread Index | Old Index