RE: Kswapd flaw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nix, how are you?
You wrote: {
On 28 Jun 2005, Al Boldi yowled:
> Nix wrote:
>> On 28 Jun 2005, Al Boldi murmured woefully:
>>> Kswapd starts evicting processes to fullfil a malloc, when it should 
>>> just deny it because there is no swap.
>> I can't even tell what you're expecting. Surely not that no pages are 
>> ever evicted or flushed; your memory would fill up with page cache in no
time.
> 
> Please do flush anytime, and do it in sync during OOMs; but don't 
> evict procs especially not RUNNING procs, that is overkill.

Would you really like a system where once something was faulted in, it could
never leave? You'd run out of memory *awfully* fast.
}

Nix,
You should only fault if you have a place to fault to, as into a swap.
Without swap faulting is overkill.

Is it possible to change kswapd's default behaviour to not fault if there is
no swap?

Thanks!

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux