linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Timur Tabi <ttabi@interactivesi.com>
Cc: Linux Kernel Mailing list <linux-kernel@vger.kernel.org>,
	Linux MM mailing list <linux-mm@kvack.org>
Subject: Re: iounmap() - can't always unmap memory I've mappedt
Date: Fri, 29 Sep 2000 23:00:16 +0100 (BST)	[thread overview]
Message-ID: <E13f8CX-0001g1-00@the-village.bc.nu> (raw)
In-Reply-To: <20000929221109Z129234-481+1111@vger.kernel.org> from "Timur Tabi" at Sep 29, 2000 04:56:00 PM

> "num_pages" is usually just equal to 1.  This code appears to work very well.
> However, when I call the iounmap function on the memory obtained via
> ioremap_nocache, sometimes I hit a kernel BUG().  The code which causes the bug
> is in page_alloc.c, line 85 (in function  __free_pages_ok):
> 
> 	if (page->buffers)
> 		BUG();

This sounds like you are trying to do maps on pages that are in use. No can do

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

       reply	other threads:[~2000-09-29 22:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20000929221109Z129234-481+1111@vger.kernel.org>
2000-09-29 22:00 ` Alan Cox [this message]
2000-09-29 22:12   ` Timur Tabi
     [not found] <20000929222813Z129135-481+1113@vger.kernel.org>
2000-09-29 23:24 ` Alan Cox

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=E13f8CX-0001g1-00@the-village.bc.nu \
    --to=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=ttabi@interactivesi.com \
    /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