Re: [PATCH] Revert "percpu: free percpu allocation info for uniprocessor system"

2014-09-21 Thread Tejun Heo
On Sun, Sep 21, 2014 at 03:04:53PM -0700, Guenter Roeck wrote:
> 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.
> 
> Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor 
> system")
> Cc: Tejun Heo 
> Cc: Honggang Li 
> Signed-off-by: Guenter Roeck 

Applied to percpu/for-3.18.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Revert "percpu: free percpu allocation info for uniprocessor system"

2014-09-21 Thread Guenter Roeck
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.

Fixes: 3189eddbcafc ("percpu: free percpu allocation info for uniprocessor 
system")
Cc: Tejun Heo 
Cc: Honggang Li 
Signed-off-by: Guenter Roeck 
---
Resent as non-RFC patch per Tejun's request.

 mm/percpu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index da997f9..2139e30 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1932,8 +1932,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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


[PATCH] Revert percpu: free percpu allocation info for uniprocessor system

2014-09-21 Thread Guenter Roeck
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.

Fixes: 3189eddbcafc (percpu: free percpu allocation info for uniprocessor 
system)
Cc: Tejun Heo t...@kernel.org
Cc: Honggang Li enjoymind...@gmail.com
Signed-off-by: Guenter Roeck li...@roeck-us.net
---
Resent as non-RFC patch per Tejun's request.

 mm/percpu.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/mm/percpu.c b/mm/percpu.c
index da997f9..2139e30 100644
--- a/mm/percpu.c
+++ b/mm/percpu.c
@@ -1932,8 +1932,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

--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


Re: [PATCH] Revert percpu: free percpu allocation info for uniprocessor system

2014-09-21 Thread Tejun Heo
On Sun, Sep 21, 2014 at 03:04:53PM -0700, Guenter Roeck wrote:
 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.
 
 Fixes: 3189eddbcafc (percpu: free percpu allocation info for uniprocessor 
 system)
 Cc: Tejun Heo t...@kernel.org
 Cc: Honggang Li enjoymind...@gmail.com
 Signed-off-by: Guenter Roeck li...@roeck-us.net

Applied to percpu/for-3.18.

Thanks.

-- 
tejun
--
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/