Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Jun Sun <jsun@mvista.com>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: Craig Mautner <craig.mautner@alumni.ucsd.edu>,
	linux-mips@linux-mips.org, jsun@mvista.com
Subject: Re: schedule() BUG
Date: Wed, 1 Oct 2003 17:39:31 -0700	[thread overview]
Message-ID: <20031001173931.B26517@mvista.com> (raw)
In-Reply-To: <20031002000930.GA3264@linux-mips.org>; from ralf@linux-mips.org on Thu, Oct 02, 2003 at 02:09:31AM +0200

[-- Attachment #1: Type: text/plain, Size: 240 bytes --]

On Thu, Oct 02, 2003 at 02:09:31AM +0200, Ralf Baechle wrote:
> On Wed, Oct 01, 2003 at 04:50:23PM -0700, Jun Sun wrote:
> 
> > This is an known problem.  Please try the attached patch.
> 
> No patch attached :-)
>

Doh!  Here you go.

Jun

[-- Attachment #2: vmalloc-fault-with-no-active-mm.patch --]
[-- Type: text/plain, Size: 414 bytes --]

diff -Nru link/arch/mips/mm/fault.c.orig link/arch/mips/mm/fault.c
--- link/arch/mips/mm/fault.c.orig	Fri May 10 18:50:08 2002
+++ link/arch/mips/mm/fault.c	Fri May 23 10:39:10 2003
@@ -260,7 +260,7 @@
 		pgd_t *pgd, *pgd_k;
 		pmd_t *pmd, *pmd_k;
 
-		pgd = tsk->active_mm->pgd + offset;
+		pgd = (pgd_t *) pgd_current[smp_processor_id()] + offset;
 		pgd_k = init_mm.pgd + offset;
 
 		if (!pgd_present(*pgd)) {

  reply	other threads:[~2003-10-02  0:39 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-09-12 18:04 schedule() BUG Craig Mautner
2003-09-12 18:04 ` Craig Mautner
2003-09-13 16:30 ` Craig Mautner
2003-09-13 16:30   ` Craig Mautner
2003-09-15 18:59 ` Craig Mautner
2003-09-15 18:59   ` Craig Mautner
2003-10-01 23:50 ` Jun Sun
2003-10-02  0:09   ` Ralf Baechle
2003-10-02  0:39     ` Jun Sun [this message]
2003-10-02  4:28   ` Daniel Jacobowitz
     [not found] <FJEIIOCBFAIOIDNKLPFJCECODAAA.koji.kawachi@pioneer-pdt.com>
2003-10-07  2:05 ` Steve Scott
2003-10-07  2:05   ` Steve Scott
2003-10-08 16:29   ` Ralf Baechle

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=20031001173931.B26517@mvista.com \
    --to=jsun@mvista.com \
    --cc=craig.mautner@alumni.ucsd.edu \
    --cc=linux-mips@linux-mips.org \
    --cc=ralf@linux-mips.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