Messages in this thread | | | Date | Wed, 23 Jun 2004 18:24:35 -0700 | From | William Lee Irwin III <> | Subject | Re: [oom]: [0/4] fix OOM deadlock running OAST |
| |
William Lee Irwin III <wli@holomorphy.com> wrote: >> Also, as we're fixing this a different way, could you clarify for me >> which of the pieces of the original fix or related things (e.g. the >> zone->all_unreclaimable stuff, yanking PG_wired stuff off the LRU, >> maybe more) you wanted me to rework and send back in later?
On Wed, Jun 23, 2004 at 06:07:22PM -0700, Andrew Morton wrote: > Well none, really. This problem is now fixed, is it not? > It would be nice to fix up the unrelated issue of putting unbacked pages > onto the LRU. Could do that by adding backing_dev_info.not_on_lru, check > that in the various places where we add pages to the LRU. > Or, conceivably, do it lazily: take these pages off the LRU if we encounter > them in page reclaim. This might be a net win - do extra work for the rare > case, less work for the common case. > Something like this:
To me, this resembles reworking the LRU removal bits. I'll flesh out the example you posted in the way you've suggested (via backing_dev_info).
Thanks.
-- wli - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |