login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
16
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and make MSI use it
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Arnaldo Carvalho de Melo
Subject:
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and make MSI use it
Date: Friday, May 16, 2008 - 11:33 am
Em Fri, May 16, 2008 at 10:44:34AM -0700, Jesse Barnes escreveu:
quoted text
> On Thursday, May 15, 2008 10:10 am Arnaldo Carvalho de Melo wrote: > > Em Thu, May 15, 2008 at 11:04:07AM -0600, Matthew Wilcox escreveu: > > > On Thu, May 15, 2008 at 01:04:26PM -0300, Arnaldo Carvalho de Melo wrote: > > > > So I implemented pci_find_capability_cached and made MSI use it > > > > for good measure, please consider applying. > > > > > > As I told you on IRC, this is just the MSI code being complete crap. > > > It should be caching the offset itself. We shouldn't have this extra > > > array in the struct pci_dev just because MSI is broken. > > > > Well, we can certainly do that, its just that I did this first and > > thought that perhaps there could be some other users, but I see that 44 > > extra bytes per pci_dev can be a pain if the only one to reap benefits > > is MSI, can't you think of any other users? I couldn't detect any so far > > in my admitedly limited testing. > > There are a few other common cap checks, but I don't think they compare to MSI > in terms of latency sensitivity (though I didn't audit all the CAP_ID_EXP > checks, there are quite a few of those). > > Since we know MSI is a problem, let's just go with fixing that for now. If we > find that other caps are also causing problems we can revisit caching all of > them; the patch is simple enough.
Do you want me to submit another patch or can you cook up one? - Arnaldo --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH][PCI]: Introduce pci_find_capability_cached and mak ...
, Arnaldo Carvalho de Melo
, (Thu May 15, 9:04 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Arnaldo Carvalho de Melo
, (Thu May 15, 10:02 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Matthew Wilcox
, (Thu May 15, 10:04 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Arnaldo Carvalho de Melo
, (Thu May 15, 10:10 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Jesse Barnes
, (Fri May 16, 10:44 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Arnaldo Carvalho de Melo
, (Fri May 16, 11:33 am)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Jesse Barnes
, (Fri May 16, 12:01 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and ...
, Arnaldo Carvalho de Melo
, (Fri May 16, 12:10 pm)
[PATCH] msi: skip calling pci_find_capability from msi_set ...
, Hidetoshi Seto
, (Sun May 18, 9:48 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi ...
, Jesse Barnes
, (Mon May 19, 1:11 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi ...
, Arnaldo Carvalho de Melo
, (Mon May 19, 1:26 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi ...
, Arnaldo Carvalho de Melo
, (Tue May 20, 12:56 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi ...
, Jesse Barnes
, (Tue May 20, 1:06 pm)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [PATCH 0/3] v2 Make hierarchical RCU less IPI-happy and add more tracing
Jeremy Fitzhardinge
Re: Linux 2.6.28.10 and Linux 2.6.29.6 XEN Guest Support Broken x86_64 in BUILD
Nick Piggin
Re: [patch] CFS (Completely Fair Scheduler), v2
Gary Hade
Re: [PATCH 0/5][RFC] Physical PCI slot objects
Dave Johnson
Re: expected behavior of PF_PACKET on NETIF_F_HW_VLAN_RX device?
linux-netdev
:
Arnd Bergmann
Re: 64-bit net_device_stats
Stephens, Allan
RE: [PATCH]: tipc: Fix oops on send prior to entering networked mode
frank.blaschka
[patch 3/5] [PATCH] qeth: support z/VM VSWITCH Port Isolation
Wu Fengguang
Re: [PATCH] dm9601: handle corrupt mac address
David Miller
Re: [PATCH net-2.6.24] Fix refcounting problem with netif_rx_reschedule()
git
:
Junio C Hamano
Re: [PATCH] [RFC] add Message-ID field to log on git-am operation
Junio C Hamano
Re: Handling large files with GIT
Karl
Re: [ANNOUNCE] pg - A patch porcelain for GIT
Josh Triplett
Re: [RFC][PATCH 00/10] Sparse: Git's "make check" target
Pierre Habouzit
Re: [PATCH] git-daemon: more powerful base-path/user-path settings, using formats.
git-commits-head
:
Linux Kernel Mailing List
MIPS: RBTX4939: Fix IOC pin-enable register updating
Linux Kernel Mailing List
regulator: update email address for Liam Girdwood
Linux Kernel Mailing List
[SCSI] ipr: add message to error table
Linux Kernel Mailing List
powerpc/32: Wire up the trampoline code for kdump
Linux Kernel Mailing List
USB: omap_udc: sync with OMAP tree
openbsd-misc
:
Josh Grosse
Re: error : pkg add phpMyAdmin
Brian Candler
Re: OBSD's perspective on SELinux
Jacob Meuser
Re: /dev/audio: Device busy
David Vasek
Re: Inexpensive, low power, "wall wart" computer
William Boshuck
Re: Richard Stallman...
Colocation donated by:
Syndicate