Re: [PATCH] [Request for inclusion] Filesystem in Userspace

From: Avi Kivity
Date: Wed Dec 15 2004 - 12:47:27 EST


Daniel Phillips wrote:

Hi Avi,

On Tuesday 30 November 2004 16:37, Avi Kivity wrote:


The situation with userspace filesystems is:

some process allocates memory, blocking on kswapd as memory is full
kswapd calls userspace filesystem to free memory
userspace filesystem calls kernel, which allocates memory and blocks
on kswapd
eventually all processes in the system block on kswapd

I have observed (and fixed) this on a real system.



What was your fix?



(with apologies for the long delay)

See the thread at http://lkml.org/lkml/2004/7/26/68. basically allow the userspace filesystem process to access behave like kswapd allocation-wise.

--
Do not meddle in the internals of kernels, for they are subtle and quick to panic.

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