From: Jeff Hartmann <jhartmann@valinux.com>
To: Daniel Stodden <stodden@in.tum.de>
Cc: linux-kernel@vger.kernel.org
Subject: Re: paging question
Date: Fri, 09 Feb 2001 08:32:18 -0700 [thread overview]
Message-ID: <3A840D82.10507@valinux.com> (raw)
In-Reply-To: <87elx81omm.fsf@bitch.localnet>
Daniel Stodden wrote:
> hi.
>
> i desperately hope this is not too stupid.
>
> i'm trying to write a driver which depends on giving pci devices
> access to somewhat larger amounts of pysical memory. let's say, a
> megabyte of contiguous ram.
Your unlikely to get 1 MB of contigous ram unless you grab it very early
in the boot process. This means your driver needs to be built into the
kernel, it can't be a module.
>
>
> is it possible to resize such an area later on? i mean: is there some
> mechanism available in the kernel to enlarge such a region even if the
> area beyond it is already in use?
No.
>
>
> i understand that this is pretty impossible if some entity depends on
> correct physical locations of the pages in question. but couldn't for
> example userland memory be copied elsewhere and its new location
> simply remapped?
If we had reverse page tables we could perhaps do this sort of
remapping. Currently there is no way to detrimine which physical page
maps to which userland page without scanning every processes page
tables. There is also the possibility that the memory is used by the
kernel, in which case your basically out of luck.
-Jeff
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2001-02-09 15:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-02-09 5:14 paging question Daniel Stodden
2001-02-09 13:35 ` Rik van Riel
2001-02-09 15:32 ` Jeff Hartmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-20 21:26 Jason Yan
2002-02-20 19:16 ` Richard B. Johnson
2002-02-20 19:55 ` Cesar Suga
2002-02-21 17:20 ` Gianni Tedesco
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=3A840D82.10507@valinux.com \
--to=jhartmann@valinux.com \
--cc=linux-kernel@vger.kernel.org \
--cc=stodden@in.tum.de \
/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