linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* spin_lock problem in recent kernel
@ 2001-03-28 17:18 Kaoru Fukui
  2001-03-28 19:02 ` Tom Gall
  0 siblings, 1 reply; 11+ messages in thread
From: Kaoru Fukui @ 2001-03-28 17:18 UTC (permalink / raw)
  To: linuxppc-dev


Hi!

I had tried SMP kernel using paulus rsync tree and 2_4 bk tree.
Since 2.4.3pre6 it has spin_lock problem in both tree.

I used that patch when pre6,pre7
Then I could boot kernel and it's work well.

2.4.3pre8 is not boot that has the other spin_lock problem.
(around ip_tables loading)

When i used this patch when pre6, pre7.

Please check spin_lock problem of pre8 with SMP kernel.

the machine is G4 dual
Thanks

Kaoru

diff -urN base/arch/ppc/mm/init.c fixed/arch/ppc/mm/init.c
--- base/arch/ppc/mm/init.c	Thu Mar 22 19:29:46 2001
+++ fixed/arch/ppc/mm/init.c	Fri Mar 23 05:52:33 2001
@@ -436,11 +436,11 @@
 	 * Should check if it is a candidate for a BAT mapping
 	 */

-	spin_lock(&init_mm.page_table_lock);
+//	spin_lock(&init_mm.page_table_lock);
 	err = 0;
 	for (i = 0; i < size && err == 0; i += PAGE_SIZE)
 		err = map_page(v+i, p+i, flags);
-	spin_unlock(&init_mm.page_table_lock);
+//	spin_unlock(&init_mm.page_table_lock);
 	if (err) {
 		if (mem_init_done)
 			vfree((void *)v);


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2001-03-30 12:40 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-28 17:18 spin_lock problem in recent kernel Kaoru Fukui
2001-03-28 19:02 ` Tom Gall
2001-03-29 13:29   ` Kaoru Fukui
     [not found]     ` <3AC33CA7.E5DF4C03@vnet.ibm.com>
2001-03-29 21:20       ` Success kernel-243pre8-SMP(patch)(Re: spin_lock problem in recent k ernel Kaoru Fukui
2001-03-30  2:18         ` Success kernel-243pre8-SMP(patch)(Re: spin_lock problem in recent kernel Tom Gall
2001-03-30  2:16           ` Takashi Oe
2001-03-30  2:48             ` Tom Gall
2001-03-30  2:36           ` Tony Mantler
2001-03-30  3:07             ` Success kernel-243pre8-SMP(patch)(Re: spin_lock problem inrecent kernel Tom Gall
2001-03-30 12:40               ` Olaf Hering
2001-03-30  9:16         ` Success kernel-243pre8-SMP(patch)(Re: spin_lock problem in recent k ernel Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).