Re: Using IPC-calls in a device driver

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 31 May 1999 19:11:08 +0100 (BST)


> We are a couple of students trying to create a network memory pager on a
> linux system. The pager is implemented as a device driver, which should be
> mounted as swapping device. However, we rely heavily on inter process
> communication. So far we have not been able to figure out how to use these
> calls in the driver. Or even if it is possible at all.

If you are swapping I doubt you can. A swap handler cannot do any memory
allocations or may deadlock. Thats why we dont allow NFS swap for example.

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/