lkml.org 
[lkml]   [2009]   [Jun]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [GIT PULL v2] Early SLAB fixes for 2.6.31
From
Date

> Adds code to hot code path.

A single mask which should be mostly in the noise...

> The allocators mask flags passed to the page allocator through
> GFP_RECLAIM_MASK|GFP_CONSTRAINT_MASK. This is done outside of the critical
> code paths.
>
> The might_sleep issues may be fixed by adding another check to
> __might_sleep().

That is not enough because slab and slub explicitely re-enable
interrupts when __GFP_WAIT is set, which is the problem we need to solve
in the first place, so we need to do the masking there.

Cheers,
Ben.




\
 
 \ /
  Last update: 2009-06-12 23:51    [W:0.190 / U:0.896 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site