Messages in this thread |  | | From | Gerd Knorr <> | Subject | Re: Problem with map_user_kiobuf() not mapping to physical memory | Date | 2 May 2001 19:17:51 GMT |
| |
> to the driver which performs a map_user_kiobuf() on it, the resulting > kiobuf > structure has all of the pagelist[] physical address entries set to the > same value > and the maplist[] entries set to 0. The devices access to this memory > now > causes system problems. > Is map_user_kiobuf() working correctly ?
Yes, it is. You have to lock down the pages for I/O with lock_kiovec() before using the maplist. The locking will also fault the pages if needed.
Gerd
-- sigfault (core dumped) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |