Re: copy_to/from_user and a bottom half

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

  • Next message: Jeff V. Merkey: "Re: Can O_SYNC be implemented by using fsync?"

    > 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 : Thu May 18 2000 - 13:45:16 EDT