lkml.org 
[lkml]   [2016]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v15 04/13] task_isolation: add initial support
    On Mon, Aug 29, 2016 at 12:53:30PM -0400, Chris Metcalf wrote:

    > Would it be cleaner to just replace the set_tsk_need_resched() call
    > with something like:
    >
    > set_current_state(TASK_INTERRUPTIBLE);
    > schedule();
    > __set_current_state(TASK_RUNNING);
    >
    > or what would you recommend?

    That'll just get you to sleep _forever_...

    > Or, as I said, just doing a busy loop here while testing to see
    > if need_resched or signal had been set?

    Why do you care about need_resched() and or signals? How is that related
    to the tick being stopped or not?

    \
     
     \ /
      Last update: 2016-09-17 09:58    [W:2.474 / U:0.480 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site