linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Timur Tabi <ttabi@interactivesi.com>
To: Linux Kernel Mailing list <linux-kernel@vger.kernel.org>,
	Linux MM mailing list <linux-mm@kvack.org>
Subject: kernel BUG at page_alloc.c:85 (iounmap)
Date: Fri, 22 Sep 2000 18:11:25 -0500	[thread overview]
Message-ID: <20000922230543Z131169-10809+23@kanga.kvack.org> (raw)

I have a driver which calls marks a physical page as PG_Reserved, calls
ioremap_nocache() on it, performs a non-destructive memory write, and then
calls iounmap().  I have a recurring problem which I can't figure out.  After
28 such map/unmap calls, I get an error in page_alloc.c on line 85.  This is
with 2.4.0-test2.  The offending line is in function __free_pages_ok:

	if (page->buffers)
		BUG();

My guess is that the page I'm trying to map with iounmap() has a non-zero value
of buffers before I map it, but ioremap() doesn't care about that.  But when I
go to iounmap it, then it checks buffers and complains.  

Is this correct?  And if so, what does 'buffers' do?






-- 
Timur Tabi - ttabi@interactivesi.com
Interactive Silicon - http://www.interactivesi.com

When replying to a mailing-list message, please don't cc: me, because then I'll just get two copies of the same message.
--
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-22 23:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20000922230543Z131169-10809+23@kanga.kvack.org \
    --to=ttabi@interactivesi.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.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