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

DragonFly-2.1.1.88.ge0e6c master sys/dev/disk/nata ata-chipset.c ata-pci.c ata-pci.h


From: Hasso Tepper <hasso@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 17 Dec 2008 19:11:55 -0800 (PST)

commit e0e6ca4b314f94d53cfb2bd835e27fa08fd78a78
Author: Hasso Tepper <hasso@estpak.ee>
Date:   Thu Dec 18 05:03:47 2008 +0200

    Call ata_legacy() only once on attach and save it's result.
    
    Scanning PCI configuration registers (which are not going to change) on
    every interrupt looks expensive, especially when interrupt is shared.
    Profiling (in FreeBSD) shows 3% of time spent by atapci0 on pure network
    load due to IRQ sharing with em0.
    
    Obtained-from: FreeBSD

Summary of changes:
 sys/dev/disk/nata/ata-chipset.c |    2 +-
 sys/dev/disk/nata/ata-pci.c     |   28 ++++++++++++++++++----------
 sys/dev/disk/nata/ata-pci.h     |    1 +
 3 files changed, 20 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/?p=dragonfly.git;a=commitdiff;h=e0e6ca4b314f94d53cfb2bd835e27fa08fd78a78


-- 
DragonFly BSD source repository



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