git: usched: Implement LWP lazy migration support.

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Wed Jan 11 05:43:31 PST 2017


commit 77df3a016c189a6620822ded30622ad88681de83
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Wed Jan 11 21:25:57 2017 +0800

    usched: Implement LWP lazy migration support.
    
    Non-self migration can be achieved by just setting LWP's cpumask,
    which is almost costless.  The migration will happen upon next
    time the target LWP is scheduled.
    
    Reviewed-by: dillon@

Summary of changes:
 sys/kern/usched_bsd4.c | 12 +++++++++++-
 sys/kern/usched_dfly.c | 21 ++++++++++++++++++++-
 2 files changed, 31 insertions(+), 2 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/77df3a016c189a6620822ded30622ad88681de83


-- 
DragonFly BSD source repository



More information about the Commits mailing list