lkml.org 
[lkml]   [2018]   [May]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC] sched: Distinguish between idle_cpu calls based on desired effect
    On Mon, May 07, 2018 at 04:41:17PM -0700, Rohit Jain wrote:
    > In commit 247f2f6f3c706b40b5f3886646f3eb53671258bf we distinguish
    > between idle_cpu when the vcpu is not running for scheduling threads.
    > However, idle_cpu function is used at other places for actually checking
    > whether the state of the CPU is idle or not. Hence splitting the use of
    > that function based on the desired return value.

    Yes, that looks OK.

    for your gitconfig:

    [core]
    abbrev = 12
    [alias]
    one = show -s --pretty='format:%h (\"%s\")'

    $ git one 247f2f6f3c706b40b5f3886646f3eb53671258bf
    247f2f6f3c70 ("sched/core: Don't schedule threads on pre-empted vCPUs")

    which gives the normal commit quote style.

    \
     
     \ /
      Last update: 2018-05-09 10:52    [W:2.487 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site