Re: PATCH: Raw device IO for 2.1.131

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 13 Dec 1998 20:00:37 +0000 (GMT)


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

Alan

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