lkml.org 
[lkml]   [2001]   [Feb]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectProblem with DMA buffer (in 2.2.15)
Hello!

I have the following problem.
A user process wants to talk to a PCI board via DMA. The first step I did was
to resolv the physical addresses of the data in user space. This works fine
when writing to the device. But when reading the buffer isn't allocated
and the physical addresses are resolved to zero. I fixed this with initializing
the buffer. My question is: Is there a faster method to get the kernel to
map all the virtual addresses at once and not each by each? This would
increase the performance enormously (from 33MB/s to [hopefully] 100MB/s).

Christoph

--
**********************************************************
* Christoph Baumann *
* Kirchhoff-Institut für Physik - Uni Heidelberg *
* Mail: baumann@kip.uni-heidelberg.de *
* Phone: ++49-6221-54-4329 *
**********************************************************

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:17    [W:0.027 / U:0.544 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site