[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] scsi: fix sense_slab/bio swapping livelock
Pekka Enberg wrote:
> Although you weren't convinced by my arguments, I still have
> difficulties understanding why this kind of bad behavior would be
> acceptable in an embedded environment and why we don't need to fix it
> for the SLOB case as well.
> But you do bring up a good point of SLUB changing the behavior on OOM
> situations for which SLAB_NOMERGE sounds like a good-enough stop-gap
> measure for the short term. I would prefer some other fix even if it
> means getting rid of slab merging competely (which would suck as it's
> very nice for making memory footprint smaller).

I wonder if we can get away with a SLAB_IO flag that you can use to
annotate caches that participate in writeout and the allocator could
keep some spare pages around that can be handed out for them in case of


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