lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 15 Oct 2010 07:57:59 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Tom Brown <sa212+emis@...onix.com>
CC:	LKML <linux-kernel@...r.kernel.org>,
	Yong Zhang <yong.zhang@...driver.com>
Subject: Re: Question: how to copy to user space from a tasklet

Tom Brown wrote:
> [Sorry to have to ask this here - I can't find any driver-specific
> newsgroup or mailing lists - are there any??]

linux-newbie perhaps.

> I have a driver which needs to copy device data direct to user space
> from a tasklet.

One way would be to use mmap() to allocate the DMA buffer and insert it into
the user address space before DMA commences.  An additional poll/read/write
based protocol or so can be used for buffer management during DMA.
-- 
Stefan Richter
-=====-==-=- =-=- -====
http://arcgraph.de/sr/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ