Re: [PATCH] Deadlock during heavy write activity to userspace NFS server on local NFS mount

From: Pavel Machek
Date: Tue Jul 27 2004 - 15:12:14 EST


Hi!

> On heavy write activity, allocators wait synchronously for kswapd to
> free some memory. But if kswapd is freeing memory via a userspace NFS
> server, that server could be waiting for kswapd, and the system seizes
> instantly.
>
> This patch (against RHEL 2.4.21-15EL, but should apply either
> literally
> or conceptually to other kernels) allows a process to declare itself
> as
> kswapd's little helper, and thus will not have to wait on kswapd.

Ok, but what if its memory runs out, anyway?

Pavel
--
64 bytes from 195.113.31.123: icmp_seq=28 ttl=51 time=448769.1 ms

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