mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mremap sleeping in incorrect context
Date: Wed, 30 Jul 2003 15:34:39 -0700	[thread overview]
Message-ID: <20030730153439.7df44a69.akpm@osdl.org> (raw)
In-Reply-To: <1059586337.2420.44.camel@gaston>

Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> Just had that in my log, running 2.6.0-test2. I'm not familiar
> with this code, but Arjan says this is an old problem that was
> fixed ages ago, maybe the fix was lost ?
> 
> Debug: sleeping function called from invalid context at
> mm/page_alloc.c:545
> Call trace:
>  [c000c1a8] dump_stack+0x18/0x28
>  [c0021044] __might_sleep+0x6c/0x84
>  [c004e33c] __alloc_pages+0x338/0x33c
>  [c0014940] pte_alloc_one+0x24/0x160
>  [c005c224] pte_alloc_map+0x88/0x2a8
>  [c0065a40] move_one_page+0xd0/0x2a4
>  [c0065c6c] move_page_tables+0x58/0xb8
>  [c0065d60] move_vma+0x94/0x824
>  [c00666f4] do_mremap+0x204/0x468
>  [c00669d4] sys_mremap+0x7c/0xcc

oops.  What are your CONFIG_HIGHMEM and CONFIG_HIGHPTE settings there?

  reply	other threads:[~2003-07-30 22:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-30 17:32 Benjamin Herrenschmidt
2003-07-30 22:34 ` Andrew Morton [this message]
2003-07-31 13:38   ` Benjamin Herrenschmidt
2003-07-31 21:51     ` Andrew Morton
2003-08-01 10:41       ` Benjamin Herrenschmidt

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=20030730153439.7df44a69.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=benh@kernel.crashing.org \
    --cc=linux-kernel@vger.kernel.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

all inboxes | Powered by JetHome®