lkml.org 
[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] scsi: fix sense_slab/bio swapping livelock
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


\
 
 \ /
  Last update: 2008-04-07 23:39    [W:0.083 / U:0.244 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site