[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47FBDF9E.90102@cs.helsinki.fi>
Date: Wed, 09 Apr 2008 00:11:58 +0300
From: Pekka Enberg <penberg@...helsinki.fi>
To: Christoph Lameter <clameter@....com>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Hugh Dickins <hugh@...itas.com>,
Peter Zijlstra <a.p.zijlstra@...llo.nl>,
James Bottomley <James.Bottomley@...senPartnership.com>,
Andrew Morton <akpm@...ux-foundation.org>,
FUJITA Tomonori <fujita.tomonori@....ntt.co.jp>,
Jens Axboe <jens.axboe@...cle.com>,
"Rafael J. Wysocki" <rjw@...k.pl>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] scsi: fix sense_slab/bio swapping livelock
Christoph Lameter wrote:
> Hmmmm... Peter has the most experience with these issues. Maybe the best
> would be to have this sort of logic in a more general way in the page
> allocator? Similar issues surely exist with the page allocator and a fix
> there would fix it for all users.
This needs some support in the slab allocator anyway. Keep in mind that
the patch is specifically addressing writeback in OOM conditions so we
must (1) prioritize GFP_TEMPORARY allocations over everyone else (which
just get NULL) and (2) use the remaining available memory as efficiently
as possible for _all_ GFP_TEMPORARY allocations.
Peter is, however, bringing up a good point that my patch doesn't
actually _guarantee_ anything so I'm still wondering if this approach
makes any sense... But I sure do like Linus' ideas of marking
short-lived allocations and trying harder for them in OOM.
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists