Re: 2.6.24-git: kmap_atomic() WARN_ON()

From: Alan Cox
Date: Tue Feb 26 2008 - 19:15:34 EST


> Aside: The "FIXME: use bounce buffer" comment above indicates the more
> optimal PIO data xfer approach of
>
> local_irq_save()
> kmap_atomic()
> memcpy into bounce buffer
> kunmap_atomic()
> local_irq_restore()
>
> /* do slow PIO bitbanging data transfer */
> ap->ops->data_xfer(...)

Definitely - older PATA controllers are unbuffered. A PIO_0 transfer is
running at ISA speed with IRQs off. Guaranteed to give Ingo's RT a blip.

Alan
--
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/