Skip to contentSkip to conversation

Revert "percpu: free percpu allocation info for uniprocessor system"

PATCH Applied Guenter Roeck 2 participants 2 messages Sep 21, 2014 – Sep 22, 2014

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Revert "percpu: free percpu allocation info for uniprocessor system"

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 <[email protected]>
Cc Honggang Li <[email protected]>

---
Resent as non-RFC patch per Tejun's request.

 mm/percpu.c | 2 --
 1 file changed, 2 deletions(-)
mm/percpu.c +0 -2
index da997f9..2139e30 100644
@@ -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 */
Signature · 7 lines
1.9.1

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
maintainer Applied
#1 lore raw
Quoted 11 lines · 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 <[email protected]>
Cc Honggang Li <[email protected]>

Applied to percpu/for-3.18.

Thanks.

Signature · 7 lines
tejun

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>