linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Gall <gall@rochcivictheatre.org>
To: Kaoru Fukui <k_fukui@highway.ne.jp>
Cc: linuxppc-dev@lists.linuxppc.org
Subject: Re: spin_lock problem in recent kernel
Date: Wed, 28 Mar 2001 13:02:05 -0600	[thread overview]
Message-ID: <3AC2352D.384B57CA@rochcivictheatre.org> (raw)
In-Reply-To: 20010329021803.Postino-029218@smtp01.highway.ne.jp


Hi Kaoru,

  I've found much the same as you... however I've also found that the
patch you have below (which is exactly the same as a change I have made
to the kernel I've been debugging) hasn't helped me too much. The
page_table_lock would still get messed up during the boot sequence on
Power3 with SMP on.

  I don't have any other great enlightenment as I'm taking the day off
... be back at it tomorrow!

  Regards,

  Tom

Kaoru Fukui wrote:
>
> 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);
>

--
Regards,

Tom

--------------------------------------------------------------
Linux Guy             "My heart is human, my blood is boiling,
gall@rochcivictheatre.org    my brain IBM" -- Mr Roboto, Styxx

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

  reply	other threads:[~2001-03-28 19:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-28 17:18 spin_lock problem in recent kernel Kaoru Fukui
2001-03-28 19:02 ` Tom Gall [this message]
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
  -- strict thread matches above, loose matches on Subject: below --
2001-03-29 14:35 spin_lock problem in recent kernel Kaoru Fukui

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3AC2352D.384B57CA@rochcivictheatre.org \
    --to=gall@rochcivictheatre.org \
    --cc=k_fukui@highway.ne.jp \
    --cc=linuxppc-dev@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).