Re: locking user memory and kiobuf

Alan Cox (alan@lxorguk.ukuu.org.uk)
Sun, 7 Nov 1999 22:29:11 +0000 (GMT)


> 1. From what I've read in the archives, it seems that locking user
> memory from a driver isn't supported in current releases of the Linux
> kernel (2.2.xx). Is that correct?

Indeed, but mapping kernel provided pages into a user app is.

> 2. As I understand, there's a new "kiobuf mechanism" being added in
> 2.3.xx .
> Does that provide a solution to this particular issue?

It provides the basis. A patch providing this functionality is available
as a 2.2 add on and is in 2.2. ac

> 3. Alternatively, can I directly manipulate the PG_locked flag for the
> pages in question?

Unknown. 8)

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