Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of memset for GART

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Joerg Roedel
Date: Sunday, September 28, 2008 - 12:34 pm

On Sat, Sep 27, 2008 at 08:18:55PM +0200, Ingo Molnar wrote:

For AMD IOMMU I disabled the round-robin allocator to stress-test the
code. This means that the address allocation bitmap is always traversed
from the first bit. In consequence the TLB flushing is stressed a lot
(both in hardware and software) because the same DMA addresses are used
again and again. For testing I hardcoded it into the driver but I can
also make it depend on CONFIG_IOMMU_DEBUG.

Joerg

-- 
           |           AMD Saxony Limited Liability Company & Co. KG
 Operating |         Wilschdorfer Landstr. 101, 01109 Dresden, Germany
 System    |                  Register Court Dresden: HRA 4896
 Research  |              General Partner authorized to represent:
 Center    |             AMD Saxony LLC (Wilmington, Delaware, US)
           | General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/3] some small GART cleanups, Joerg Roedel, (Thu Sep 25, 3:13 am)
[PATCH 2/3] x86/iommu: convert GART need_flush to bool, Joerg Roedel, (Thu Sep 25, 3:13 am)
Re: [PATCH 3/3] x86/iommu: use __GFP_ZERO instead of memse ..., Joerg Roedel, (Sun Sep 28, 12:34 pm)