Re: [PATCH] Deadlock during heavy write activity to userspace NFS

From: Ulrich Weigand
Date: Tue Jul 27 2004 - 21:32:59 EST


Avi Kivity wrote:

>In our case, all block I/O is done using
>unbuffered I/O, and all memory is preallocated, so we don't need kswapd
>at all, just that small bit of memory that syscalls consume.

Does your userspace process need to send/receive network packets
in order to perform a write-out? If so, how can you make sure your
incoming packets aren't thrown away in out-of-memory situations?
(Outgoing packets can use PF_MEMALLOC memory I guess, but incoming
ones aren't associated to any process yet ...)

Bye,
Ulrich

--
Dr. Ulrich Weigand
weigand@xxxxxxxxxxxxxxxxxxxxxxxxxx
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/