Re: [PATCH] scsi: fix sense_slab/bio swapping livelock
From: Pekka Enberg
Date: Mon Apr 07 2008 - 17:36:38 EST
Hi Linus,
Linus Torvalds wrote:
I suspect the right thing to do is not to mark them for "IO", but mark
them for "short-lived", and allow short-lived allocations that don't have
extended lifetimes to succeed even when a "real" allocation wouldn't.
Yeah, makes sense. We do have GFP_TEMPORARY so we could associate this
new semantics with that. But the real problem here is how to do the
"allocate harder" part which, btw, sounds very similar to what Peter's
kmalloc reserve patches try to do...
Pekka
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/