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

Avi Kivity
2004-12-15T17:46:11Z

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.