DragonFly BSD
DragonFly commits List (threaded) for 2005-10
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_intr.c lwkt_serialize.c subr_taskqueue.c src/sys/sys bus.h interrupt.h serialize.h thread.h src/sys/bus/cam cam_xpt.c src/sys/bus/isa/i386 isa_device.h src/sys/dev/disk/ata ata-all.c src/sys/dev/disk/mcd ...


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 16 Oct 2005 08:56:38 -0700 (PDT)

:
:Matthew Dillon wrote:
:>   * Revamp the interrupt name array returned to userland to list multiple
:>     drivers associated with the same IRQ.
:
:This broke vmstat.  I started trying to fix it with 
:<http://chlamydia.fs.ei.tum.de/~corecode/unsorted/vmstat-irq-broken.diff> 
:but I can't export intr_info into userland because of the embedded 
:struct thread and struct random_id stuff.  And the copying is a bit 
:messy... (Three indirections)
:
:cheers
:   simon

    Actually, I looked at it, and I don't think I need to rip out the
    thread structure.  We can easily fix it by using the sysctl's to
    retrieve the information in vmstat instead of KVM.  Take a look
    at the systat changes I made along the same lines.

					-Matt
					Matthew Dillon 
					<dillon@xxxxxxxxxxxxx>



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