lkml.org 
[lkml]   [2009]   [Jun]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v2] slab,slub: ignore __GFP_WAIT if we're booting or suspending
From
Date
On Fri, 2009-06-19 at 16:59 +0200, Pavel Machek wrote:
>
> Ok... GFP_KERNEL allocations normally don't fail; now they
> will. Should we at least force access to atomic reserves in such case?

No. First, code that assumes GFP_KERNEL don't fail is stupid. Any
allocation should always be assumed to potentially fail.

Then, if you start failing allocations at boot time, then you aren't
going anywhere are you ?

Cheers,
Ben.




\
 
 \ /
  Last update: 2009-06-20 00:31    [W:0.127 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site