No, it is not safe to DMA from the stack in all architectures.

Matt

On Mon, Jun 23, 2003 at 08:01:57PM +0300, Tuukka Toivonen wrote:
> Is it OK to have the USB transfer buffer (parameter 7 to usb_control_msg())
> in kernel stack?
> 
> The documentation says that "This buffer has to be allocated as a
> non-pageable contiguous physical memory block" and if it's placed in stack
> it works on x86, but is it safe thing to do across all architectures?
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: INetU
> Attention Web Developers & Consultants: Become An INetU Hosting Partner.
> Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
> INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
> _______________________________________________
> [EMAIL PROTECTED]
> To unsubscribe, use the last form field at:
> https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

-- 
Matthew Dharm                              Home: [EMAIL PROTECTED] 
Maintainer, Linux USB Mass Storage Driver

Hi.  I have my back hairs caught in my computer fan.
                                        -- Customer
User Friendly, 8/20/1998

Attachment: pgp00000.pgp
Description: PGP signature

Reply via email to