Re: PATCH: Raw device IO for 2.1.131

H. Peter Anvin (hpa@transmeta.com)
13 Dec 1998 23:55:40 GMT


Followup to: <m0zpHh0-0007U1C@the-village.bc.nu>
By author: alan@lxorguk.ukuu.org.uk (Alan Cox)
In newsgroup: linux.dev.kernel
>
> > I think it's perfectly correct in this case to use mlock(), but the goal
> > is not to pin down pages as a basic mechanizm, but to guarantee bandwith.
> > (i assume the capture card can do at least page granularity scatter-gather
> > DMA?)
>
> Yes. It can do that page level.
>
> > (since it's video-capture, mlock() should not be much of an issue, the
> > card is a controlled resource anyway. If in the future we will have video
>
> His torvaldsness rejected a patch that made mlock callable from inside drivers
> to do this sort of stuff. So thats not a possibility.
>

Hang on... this sounds like exactly the kind of stuff that we want,
but want in 2.3. I'd say we need 2.2 out ASAP more than anything
else at this point.

-hpa

-- 
    PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD  1E DF FE 69 EE 35 BD 74
    See http://www.zytor.com/~hpa/ for web page and full PGP public key
        I am Bahá'í -- ask me about it or see http://www.bahai.org/
   "To love another person is to see the face of God." -- Les Misérables

- 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/