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

From: Avi Kivity
Date: Wed Jul 28 2004 - 00:13:58 EST


Nick Piggin wrote:


There is some need arising for a call to set the PF_MEMALLOC flag for
userspace tasks, so you could probably get a patch accepted. Don't
call it KSWAPD_HELPER though, maybe MEMFREE or RECLAIM or RECLAIM_HELPER.

I don't think my patch is general enough, it deals with only one level of dependencies, and doesn't work if the NFS server (or other process that kswapd depends on) depends on kswapd itself. It was intended more as an RFC than a request for inclusion.

It's probably fine for those with the exact same problem as us.


But why is your NFS server needed to reclaim memory? Do you have the
filesystem mounted locally?

Yes, for use by protocol adapters like samba.

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