Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Dec 2008 16:04:40 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/dev/ata ata-pci.c ata-pci.h
Message-ID:  <200812161604.mBGG4i2g083553@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
mav         2008-12-16 16:04:40 UTC

  FreeBSD src repository

  Modified files:
    sys/dev/ata          ata-pci.c ata-pci.h 
  Log:
  SVN rev 186182 on 2008-12-16 16:04:40Z by mav
  
  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 shows me 3%
  of time spent by atapci0 on pure network load due to IRQ sharing with em0.
  
  Revision  Changes    Path
  1.131     +19 -11    src/sys/dev/ata/ata-pci.c
  1.97      +1 -0      src/sys/dev/ata/ata-pci.h



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812161604.mBGG4i2g083553>