lkml.org 
[lkml]   [2013]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 00/34] idle: Consolidate idle implementations
    Hi Thomas.
    On Thu, Mar 21, 2013 at 09:52:56PM -0000, Thomas Gleixner wrote:
    > Each architecture implements its own cpu_idle() code, which is more or
    > less the same on all architectures (plus/minus a few bugs and a few
    > missing extra functionalities, instrumentation ...). That also forces
    > everyone who is interested in idle related features to add new
    > functionality to every architecture. What a waste.
    >
    > Aside of that pointless code duplicaiton the ongoing quest to
    > consolidate the cpu hotplug code needs a common entry point for the
    > non boot cpus.
    >
    > The following series implements a generic idle function and converts
    > most architectures over. I left out SPARC (it involves sparc asm) and
    > UM (it made me barf). If we can move those architectures as well, we
    > can get rid of the extra config switch and have everything
    > consolidated.
    I wanted to take a quick look at sparc - but build failed
    after applying patch 1-5. Looks like the same issue Tony already
    reaported.

    At very first glnce it looks straightforward to convert
    both sparc32 and sparc64.
    The assembler stuff used by sparc64 fits into one of the arch functions
    as far as I could see.

    When I get back from vacation I may take a look.

    Sam


    \
     
     \ /
      Last update: 2013-03-22 22:01    [W:3.345 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site