login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
May
»
20
Re: [PATCH] msi: skip calling pci_find_capability from msi_set_mask_bits
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Arnaldo Carvalho de Melo <acme@...>
To: Jesse Barnes <jbarnes@...>
Cc: Hidetoshi Seto <seto.hidetoshi@...>, Matthew Wilcox <matthew@...>, <linux-kernel@...>, <linux-pci@...>, <linux-rt-users@...>
Subject:
Re: [PATCH] msi: skip calling pci_find_capability from msi_set_mask_bits
Date: Tuesday, May 20, 2008 - 3:56 pm
Em Mon, May 19, 2008 at 01:11:45PM -0700, Jesse Barnes escreveu:
quoted text
> On Sunday, May 18, 2008 9:48 pm Hidetoshi Seto wrote: > > Jesse Barnes wrote: > > > 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. > > > > Humm... > > I suppose it can be more simple. How about this patch? > > > > > everytime handle_edge_irq is called it needs to mask and unmask MSI, and > > > that leads to a series of very expensive calls to pci_find_capability > > > > The position of MSI capability is already cached in the msi_desc when > > we enter the msi_set_mask_bits(). Use it instead. > > > > Signed-off-by: Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> > > Yeah, this looks really nice. It should also fix Arnaldo's latency problem, > and really looks like a bug fix for the MSI code more than anything. > > Arnaldo, can you take a look & test and ack/nack?
Tested, works as expected, thanks. Acked-by: Arnaldo Carvalho de Melo <acme@redhat.com> - 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 make ...
, Arnaldo Carvalho de Melo
, (Thu May 15, 12:04 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Matthew Wilcox
, (Thu May 15, 1:04 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Arnaldo Carvalho de Melo
, (Thu May 15, 1:10 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Jesse Barnes
, (Fri May 16, 1:44 pm)
[PATCH] msi: skip calling pci_find_capability from msi_set_m...
, Hidetoshi Seto
, (Mon May 19, 12:48 am)
Re: [PATCH] msi: skip calling pci_find_capability from msi_s...
, Jesse Barnes
, (Mon May 19, 4:11 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi_s...
, Arnaldo Carvalho de Melo
, (Tue May 20, 3:56 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi_s...
, Jesse Barnes
, (Tue May 20, 4:06 pm)
Re: [PATCH] msi: skip calling pci_find_capability from msi_s...
, Arnaldo Carvalho de Melo
, (Mon May 19, 4:26 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Arnaldo Carvalho de Melo
, (Fri May 16, 2:33 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Jesse Barnes
, (Fri May 16, 3:01 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Arnaldo Carvalho de Melo
, (Fri May 16, 3:10 pm)
Re: [PATCH][PCI]: Introduce pci_find_capability_cached and m...
, Arnaldo Carvalho de Melo
, (Thu May 15, 1:02 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Faik Uygur
Re: Linux 2.6.21-rc1
pageexec
Re: [stable] Linux 2.6.25.10
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Greg KH
[GIT PATCH] driver core patches against 2.6.24
git
:
linux-netdev
:
Mark Lord
Re: 2.6.25-rc8: FTP transfer errors
Natalie Protasevich
[BUG] New Kernel Bugs
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
7 users
and
831 guests
online.
Online users
strcmp
vv_ivango
calemonlawbjga
alanmaguire
summerspring
floodcleaningc
seolondonbcrlox
Syndicate