Messages in this thread | | | From | Gerd Knorr <> | Subject | Re: Calculating kernel logical address .. | Date | 10 Sep 2002 07:03:44 GMT |
| |
> > It looks drivers/media/video/video-buf.c uses alloc_kiovec() and > > map_user_kiobuf() to do it. > > For video-buf.c and for Imran's application, that's just a wrapper > which is used to get at get_user_pages().
My latest video-buf.c version already uses get_user_pages() directly. Get the latest bttv bits from http://bytesex.org/snapshot/ if you want to have a look at the code. Will go into 2.5 with the next batch of video4linux updates.
Gerd
-- You can't please everybody. And usually if you _try_ to please everybody, the end result is one big mess. -- Linus Torvalds, 2002-04-20 - 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/
| |