]> Git Repo - linux.git/commit
iommu sg merging: swiotlb: respect the segment boundary limits
authorFUJITA Tomonori <[email protected]>
Tue, 5 Feb 2008 06:28:16 +0000 (22:28 -0800)
committerLinus Torvalds <[email protected]>
Tue, 5 Feb 2008 17:44:12 +0000 (09:44 -0800)
commit681cc5cd3efbeafca6386114070e0bfb5012e249
tree21249148cf78175e1d099999784053a14dc2fc50
parent59fc67dedb46c29442989e52af39da67aea52512
iommu sg merging: swiotlb: respect the segment boundary limits

This patch makes swiotlb not allocate a memory area spanning LLD's segment
boundary.

is_span_boundary() judges whether a memory area spans LLD's segment boundary.
If map_single finds such a area, map_single tries to find the next available
memory area.

Signed-off-by: FUJITA Tomonori <[email protected]>
Cc: James Bottomley <[email protected]>
Cc: Jens Axboe <[email protected]>
Cc: Greg KH <[email protected]>
Cc: Jeff Garzik <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
lib/swiotlb.c
This page took 0.04926 seconds and 4 git commands to generate.