[lkml]   [2008]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: pci_map_sg() does not coalesce adjacent physical memory? x86

On Wed, Nov 19, 2008 at 8:58 AM, FUJITA Tomonori
<> wrote:
> On Wed, 19 Nov 2008 15:58:12 +0900
> FUJITA Tomonori <> wrote:
>> On Wed, 19 Nov 2008 07:22:31 +0100
> - pci_map_sg/dma_map_sg are used with a scatter gather list that
> doesn't come from the block layer (e.g. some network drivers do).
This is the point I then want to make: we have pci_map_sg() users in
other system than the block layer, the network and v4l2 subsystems,
why cannot they benefit from coalescing?

Should they copy the block layer coalescing implementation, or should
that implementation be made more generic and live outside the block
sub system?

My intended use case is as follows. See the sg_write() call for the code flow.


 \ /
  Last update: 2008-11-19 10:47    [W:0.041 / U:2.940 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site