login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
12
Re: [PATCH]intel-iommu batched iotlb flushes
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Randy Dunlap <randy.dunlap@...>
To: <mgross@...>
Cc: Andrew Morton <akpm@...>, <linux-kernel@...>, <linux-mm@...>
Subject:
Re: [PATCH]intel-iommu batched iotlb flushes
Date: Tuesday, February 12, 2008 - 12:34 pm
mark gross wrote:
quoted text
> > Index: linux-2.6.24-mm1/drivers/pci/intel-iommu.c > =================================================================== > --- linux-2.6.24-mm1.orig/drivers/pci/intel-iommu.c 2008-02-12 07:12:06.000000000 -0800 > +++ linux-2.6.24-mm1/drivers/pci/intel-iommu.c 2008-02-12 07:47:04.000000000 -0800
quoted text
> @@ -1672,7 +1702,30 @@ > for_each_drhd_unit(drhd) { > if (drhd->ignored) > continue; > - iommu = alloc_iommu(drhd); > + g_num_of_iommus++; > + } > + > + nlongs = BITS_TO_LONGS(g_num_of_iommus); > + g_iommus_to_flush = kzalloc(nlongs * sizeof(unsigned long), GFP_KERNEL); > + if (!g_iommus_to_flush) { > + printk(KERN_ERR "Intel-IOMMU: \ > + Allocating bitmap array failed\n");
I think that will make a string like below: Intel-IOMMU: Allocating bitmap array failed
quoted text
> + return -ENOMEM; > + } > + > + g_iommus = kzalloc(g_num_of_iommus * sizeof(*iommu), GFP_KERNEL); > + if (!g_iommus) { > + kfree(g_iommus_to_flush); > + ret = -ENOMEM; > + goto error; > + } > + > + i = 0; > + for_each_drhd_unit(drhd) { > + if (drhd->ignored) > + continue; > + iommu = alloc_iommu(&g_iommus[i], drhd); > + i++; > if (!iommu) { > ret = -ENOMEM; > goto error;
quoted text
> Index: linux-2.6.24-mm1/Documentation/kernel-parameters.txt > =================================================================== > --- linux-2.6.24-mm1.orig/Documentation/kernel-parameters.txt 2008-02-12 07:12:06.000000000 -0800 > +++ linux-2.6.24-mm1/Documentation/kernel-parameters.txt 2008-02-12 07:47:02.000000000 -0800 > @@ -822,6 +822,10 @@ > than 32 bit addressing. The default is to look > for translation below 32 bit and if not available > then look in the higher range. > + strict [Default Off] > + With this option on every umap_signal opperation will
unmap_single operation
quoted text
> + result in a hardware IOTLB flush opperation as opposed > + to batching them for performance. > > io_delay= [X86-32,X86-64] I/O delay method > 0x80
-- ~Randy --
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]intel-iommu batched iotlb flushes
, mark gross
, (Mon Feb 11, 6:41 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, Muli Ben-Yehuda
, (Tue Feb 12, 4:52 am)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Tue Feb 12, 11:37 am)
Re: [PATCH]intel-iommu batched iotlb flushes
, David Miller
, (Tue Feb 12, 5:00 am)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Tue Feb 12, 11:54 am)
Re: [PATCH]intel-iommu batched iotlb flushes
, David Miller
, (Tue Feb 12, 7:46 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Wed Feb 13, 2:31 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, Muli Ben-Yehuda
, (Tue Feb 12, 5:07 am)
Re: [PATCH]intel-iommu batched iotlb flushes
, Randy Dunlap
, (Mon Feb 11, 7:27 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Tue Feb 12, 12:05 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, Randy Dunlap
, (Tue Feb 12, 12:34 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Tue Feb 12, 3:55 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, Randy Dunlap
, (Tue Feb 12, 4:21 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Wed Feb 13, 2:10 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, Randy Dunlap
, (Wed Feb 13, 2:23 pm)
Re: [PATCH]intel-iommu batched iotlb flushes
, mark gross
, (Wed Feb 13, 3:35 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Bart Van Assche
Integration of SCST in the mainstream Linux kernel
Linus Torvalds
Linux 2.6.27-rc5
Jared Hulbert
[PATCH 00/10] AXFS: Advanced XIP filesystem
Linus Torvalds
Linux 2.6.27-rc8
git
:
linux-netdev
:
David Miller
[GIT]: Networking
Antonio Almeida
HTB accuracy for high speed
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
867 guests
online.
Online users
strcmp
zeekec
inefut40
Syndicate