[lkml]   [2007]   [Jan]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC PATCH -rt 2/2] RCU priority boosting additions to rcutorture
    Hi Paul.

    On Wed, 2007-01-31 at 18:31 -0800, Paul E. McKenney wrote:
    > Good to hear from you, Nigel!

    Thanks :)

    > Should indeed be OK to freeze during suspend/hibernate. Will my
    > schedule_timeout_interruptible() be sufficient to allow the freeze
    > to happen, or do I need to add an explicit try_to_freeze()?

    You need a try_to_freeze() - the process has to enter the refrigerator()
    function to be counted as frozen.

    > Ah, and I probably need to use the same trick that mtd_blktrans_thread()
    > does to avoid having all my sleeps killed of by an errant signal:
    > spin_lock_irq(&current->sighand->siglock);
    > sigfillset(&current->blocked);
    > recalc_sigpending();
    > spin_unlock_irq(&current->sighand->siglock);
    > Or is such paranoia unnecessary?

    Yeah. try_to_freeze() is a function now, so you can do something if
    (try_to_freeze()) goto sleep_again if you so desire.



    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-02-01 03:45    [W:0.020 / U:23.820 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site