lkml.org 
[lkml]   [2011]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2 2/3] Mutually exclude cpu online and suspend/hibernate
    Hello,

    On Mon, Oct 10, 2011 at 06:15:20PM +0530, Srivatsa S. Bhat wrote:
    > Would it be better to hook into the suspend/hibernate notifiers and
    > use them to exclude cpu hotplug from suspend/hibernate, instead of
    > trying to take pm_mutex lock like this?

    If this change is determined to be necessary, I think it would be
    better to make it explicit. Exclusion through callbacks often makes
    the locking just more obscure.

    Thanks.

    --
    tejun


    \
     
     \ /
      Last update: 2011-10-10 19:03    [W:0.040 / U:0.396 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site