Re: [RFC][PATCH] SPI subsystem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> From: Arjan van de Ven <[email protected]>
> Date: Mon, 03 Oct 2005 13:07:36 +0200
>
> please NEVER EVER do dma from or to a stack variable. It's not allowed
> on all architectures and it is really really bad practice in general
> anyway. 

Arjan, could you mention some Linuxes which don't allow it?

Every time the topic of DMA to/from stack comes up, the advice is
always to avoid it ... but so far as I recall, nobody's yet provided
us with an example where it actually doesn't work.

Failing such examples, it's normal to discount such dire warnings and
just plan to apply the relevant minor tweaks if/when they're needed.

- Dave


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux