lkml.org 
[lkml]   [2014]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC PATCH] PM/CPU: Parallel enabling nonboot cpus with resume devices
    Hi!

    > In the current world, all nonboot cpus are enabled serially during system
    > resume. System resume sequence is that boot cpu enables nonboot cpu one by
    > one and then resume devices. Before resuming devices, there are few tasks
    > assigned to nonboot cpus after they are brought up. This waste cpu usage.
    >
    > To accelerate S3, this patches adds a new kernel configure
    > PM_PARALLEL_CPU_UP_FOR_SUSPEND to allow boot cpu to go forward to resume
    > devices after bringing up one nonboot cpu. The nonboot cpu will be in charge
    > of bringing up other cpus. This makes enabling cpu2~x parallel with resuming
    > devices. From the test result on 4 logical core laptop, the time of resume
    > device almost wasn't affected by enabling nonboot cpus lately while the start
    > point is almost 30ms earlier than before.

    Does this mean that userspace can now run seeing the "offlined" cpus
    still in offline state?

    Pavel

    --
    (english) http://www.livejournal.com/~pavelmachek
    (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html


    \
     
     \ /
      Last update: 2014-07-23 13:21    [W:2.238 / U:0.380 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site