lkml.org 
[lkml]   [1999]   [May]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Using IPC-calls in a device driver
Alan Cox wrote:
>
> > 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.


Isn't this what the network block device driver does/allows already?
(CONFIG_BLK_DEV_NBD)

Jeff

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

\
 
 \ /
  Last update: 2005-03-22 13:52    [W:0.055 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site