> > NFS uses GFP_NOFS as appropriate so should always do the right thing
> > itself.
> 
> What about the physical network io path ?

Thats using GFP_NOIO/GFP_ATOMIC already.

> IIRC and I may very well be wrong nfs now uses the page cache.
> Thus for any nfs write the rules for block device memory allocation
> should apply. Could you please elaborate ?

They do. NFS has to be able to complete a read or write without causing
recursive disk I/O. You can do that by careful use of GFP_NOIO and friends
or if its all in your task context by using the PF_MEMALLOC flag to lie
a little 

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to