Re: [PATCH/RFC] SPI: add DMAUNSAFE analog to David Brownell's core

From: David Brownell
Date: Wed Dec 14 2005 - 12:03:10 EST


On Tuesday 13 December 2005 2:15 pm, Vitaly Wool wrote:

> Take for instance spi_w8r8 function used in lotsa places in the drivers
> you and Stephen have posted.
> This function has a) *implicit memcpy* inherited from
> spi_write_then_read b) *implicit priority inversion* inherited from the
> same place.

No, (a) is explicit, along with comments not to use that family of
calls when such things matter more than the convenience of those
RPC-ish calls. And (b) was fixed a small patch, now merged.

- Dave

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