Linux-kernel mailing list archive 1999-22,: Re: Using IPC-calls in a device driver

# Re: Using IPC-calls in a device driver

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

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Juan Casero: "I2O status and Linux?"
- Previous message: Andrea Arcangeli: "Re: [patch] `cp /dev/zero /tmp` new interactive feeling"
- Next in thread: Stephen C. Tweedie: "Re: Using IPC-calls in a device driver"
- Reply: Stephen C. Tweedie: "Re: Using IPC-calls in a device driver"

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

- Next message: Juan Casero: "I2O status and Linux?"
- Previous message: Andrea Arcangeli: "Re: [patch] `cp /dev/zero /tmp` new interactive feeling"
- Next in thread: Stephen C. Tweedie: "Re: Using IPC-calls in a device driver"
- Reply: Stephen C. Tweedie: "Re: Using IPC-calls in a device driver"