On Wed, 2007-09-05 at 05:14 -0700, Christoph Lameter wrote: > Using the VM to throttle networking is a pretty bad thing because it > assumes single critical user of memory. There are other consumers of > memory and if you have a load that depends on other things than networking > then you should not kill the other things that want memory. The VM is a _critical_ user of memory. And I dare say it is the _most_ important user. Every user of memory relies on the VM, and we only get into trouble if the VM in turn relies on one of these users. Traditionally that has only been the block layer, and we special cased that using mempools and PF_MEMALLOC. Why do you object to me doing a similar thing for networking? The problem of circular dependancies on and with the VM is rather limited to kernel IO subsystems, and we only have a limited amount of them. You talk about something generic, do you mean an approach that is generic across all these subsystems? If so, my approach would be it, I can replace mempools as we have them with the reserve system I introduce.
Attachment:
signature.asc
Description: This is a digitally signed message part
- Follow-Ups:
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- References:
- [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Daniel Phillips <[email protected]>
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Christoph Lameter <[email protected]>
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Nick Piggin <[email protected]>
- Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- From: Christoph Lameter <[email protected]>
- [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- Prev by Date: Re: [RFC+PATCH] RTC calibration
- Next by Date: [Resend][PATCH -mm] Hibernation: Check if ACPI is enabled during restore in the right place
- Previous by thread: Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- Next by thread: Re: [RFC 0/3] Recursive reclaim (on __PF_MEMALLOC)
- Index(es):