Re: copy_to/from_user and a bottom half

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu May 18 2000 - 11:40:59 EST


> I tried to speed up a driver and moved copy_to_user()
> from ioctl to the bottom half of interrupt handler.

You cant touch user space from a BH. You need to pin the pages down and
use the physical address if you must do this. 2.2.x has no support for that
2.3.x has the kiovec framework

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



This archive was generated by hypermail 2b29 : Tue May 23 2000 - 21:00:15 EST