There is a mechanism in the patch to pass AS_KERNEL to map_user_kiobuf()
so that the kernel pages are tagged appropriately for raw I/O. Given
that, when sd_raw_rw() is called, if the f_reada flag of the file
pointer is DUMP_KIOBUF_NUMBER, we automatically set AS_KERNEL.
|>Changing sd_raw_rw to indicate if the caller is kernel or user would
|>work but is clumsy, all callers have to change. Can I map the kernel
|>pages into user space, if so how? Or would set_fs (get_ds()) fudge the
|>mappings enough to work?
If you have the appropriate patch, this should all work correctly.
--Matt
-
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/