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 ...

Matthew Dillon dillon at apollo.backplane.com
Sun Oct 16 08:58:18 PDT 2005


:
: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 at xxxxxxxxxxxxx>





More information about the Commits mailing list