lkml.org 
[lkml]   [2015]   [Jan]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 3.4 010/177] Revert "percpu: free percpu allocation info for uniprocessor system"
    Date
    From: Guenter Roeck <linux@roeck-us.net>

    3.4.106-rc1 review patch. If anyone has any objections, please let me know.

    ------------------


    commit bb2e226b3bef596dd56be97df655d857b4603923 upstream.

    This reverts commit 3189eddbcafc ("percpu: free percpu allocation info for
    uniprocessor system").

    The commit causes a hang with a crisv32 image. This may be an architecture
    problem, but at least for now the revert is necessary to be able to boot a
    crisv32 image.

    Cc: Tejun Heo <tj@kernel.org>
    Cc: Honggang Li <enjoymindful@gmail.com>
    Signed-off-by: Guenter Roeck <linux@roeck-us.net>
    Signed-off-by: Tejun Heo <tj@kernel.org>
    Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor system")
    Signed-off-by: Zefan Li <lizefan@huawei.com>
    ---
    mm/percpu.c | 2 --
    1 file changed, 2 deletions(-)

    diff --git a/mm/percpu.c b/mm/percpu.c
    index 5f6042b..13b2eef 100644
    --- a/mm/percpu.c
    +++ b/mm/percpu.c
    @@ -1907,8 +1907,6 @@ void __init setup_per_cpu_areas(void)

    if (pcpu_setup_first_chunk(ai, fc) < 0)
    panic("Failed to initialize percpu areas.");
    -
    - pcpu_free_alloc_info(ai);
    }

    #endif /* CONFIG_SMP */
    --
    1.9.1


    \
     
     \ /
      Last update: 2015-01-28 07:01    [W:4.139 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site