lkml.org 
[lkml]   [2010]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [RFC][PATCH] PM: Force GFP_NOIO during suspend/resume (was: Re: [linux-pm] Memory allocations in .suspend became very unreliable)
    From
    Date
    On Tue, 2010-01-19 at 10:04 +0100, Bastien ROUCARIES wrote:
    > Instead of masking bit could we only check if incompatible flags are
    > used during suspend, and warm deeply. Call stack will be therefore
    > identified, and we could have some metrics about such problem.
    >
    > It will be a debug option like lockdep but pretty low cost.

    I still believe it would just be a giant can of worms to require every
    call site of memory allocators to "know" whether suspend has been
    started or not.... Along the same reasons why we added that stuff for
    boot time allocs.

    Cheers,
    Ben.




    \
     
     \ /
      Last update: 2010-01-20 00:21    [W:4.217 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site