On Sun, Mar 10, 2013 at 11:30 PM, Christoph Seitz c.se...@tu-bs.de wrote:
Hi all,
I have some problems allocation Memory the right way and use it in my
kernel module.
I use a char device for reading and writing from/to a pcie dma card.
Especially the read function makes me some headache.
On Tue, 12 Mar 2013 18:38:05 +0530, Prabhu nath said:
On Sun, Mar 10, 2013 at 11:30 PM, Christoph Seitz c.se...@tu-bs.de wrote:
I use a char device for reading and writing from/to a pcie dma card.
Especially the read function makes me some headache. The user allocates
some memory with
Am 12.03.2013 14:08, schrieb Prabhu nath:
On Sun, Mar 10, 2013 at 11:30 PM, Christoph Seitz c.se...@tu-bs.de
mailto:c.se...@tu-bs.de wrote:
Hi all,
I have some problems allocation Memory the right way and use it in my
kernel module.
I use a char device for reading
On Tue, 12 Mar 2013 15:03:53 +0100, Christoph Seitz said:
I found out, if I use the force flag with get_user_pages, the pages get
faulted, but there has to be a nicer way than using the force flag.
Why does there have to be a nicer way? Maybe you already got the nice way.
(Hint - why does
On Tue, Mar 12, 2013 at 7:59 PM, valdis.kletni...@vt.edu wrote:
On Tue, 12 Mar 2013 18:38:05 +0530, Prabhu nath said:
On Sun, Mar 10, 2013 at 11:30 PM, Christoph Seitz c.se...@tu-bs.de
wrote:
I use a char device for reading and writing from/to a pcie dma card.
Especially the read
Hi all,
I have some problems allocation Memory the right way and use it in my
kernel module.
I use a char device for reading and writing from/to a pcie dma card.
Especially the read function makes me some headache. The user allocates
some memory with posix_memalign and call the read function on