Re: Using IPC-calls in a device driver

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 31 May 1999 21:33:07 +0100 (BST)


> > 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.
>
> Isn't this what the network block device driver does/allows already?
> (CONFIG_BLK_DEV_NBD)

If you try and swap over NBD your machine will deadlock. NBD works because
it does some clever trickery, but thats not enough to work when swapping

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