From: Andy Henroid <andy_henroid@yahoo.com>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: Linux-MM@kvack.org
Subject: Re: remap_page_range problem on 2.3.x
Date: Thu, 9 Mar 2000 09:51:19 -0800 (PST) [thread overview]
Message-ID: <20000309175119.28794.qmail@web1306.mail.yahoo.com> (raw)
--- Jeff Garzik <jgarzik@mandrakesoft.com> wrote:
> Andy Henroid wrote:
> >
> > Name: mmtest.tar.gz
> > mmtest.tar.gz Type: Unix Tape Archive
> (application/x-tar)
> > Encoding: base64
> > Description: mmtest.tar.gz
>
> Are these the correct test files?
>
> rum:~/tmp/mmtest> grep -i remap *
> rum:~/tmp/mmtest>
Yes, the remap_page_range is done indirectly
through mmap call to the /dev/mem driver.
> I think you'll need to do something like
>
> init():
> dsdt = get_free_pages(...)
>
> chrdev mmap() op:
> remap_page_range(dsdt, ...)
OK, yes I bet that would work. I just don't see
any good reason why the remap_page_range doesn't
appear to be doing the right thing for a piece
of kmalloced memory.
> If you are going to present data via /proc, you
> might as well simply dump the raw data out to
> whoever is reading /proc/driver/acpi/dsdt...
It's actually a bit less wasteful, for systems
with large DSDTs, to do the mmap. But, right,
this is another possible work-around to my
current problem.
-Andy
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
--
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/
next reply other threads:[~2000-03-09 17:51 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2000-03-09 17:51 Andy Henroid [this message]
2000-03-13 13:19 ` Thomas Sailer
-- strict thread matches above, loose matches on Subject: below --
2000-03-13 19:16 Andy Henroid
2000-03-08 2:05 Andy Henroid
2000-03-08 4:04 ` Jeff Garzik
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=20000309175119.28794.qmail@web1306.mail.yahoo.com \
--to=andy_henroid@yahoo.com \
--cc=Linux-MM@kvack.org \
--cc=jgarzik@mandrakesoft.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