From: "Matias Zabaljauregui" <matias.zabaljauregui@cern.ch>
To: virtualization@lists.linux-foundation.org
Subject: Lguest
Date: Thu, 28 Jun 2007 19:03:39 +0200 [thread overview]
Message-ID: <21a166410706281003p79949542t2f90bfe6e2d7bda3@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 518 bytes --]
Hello Rusty,
I'have just started to read the code (and I'm not an expert kernel
programmer), but is this condition ok ?
(function setup_pagetables(), on file Documentation/lguest.c )
/* Ideally we map all physical memory starting at page_offset.
* However, if page_offset is 0xC0000000 we can only map 1G of physical
* (0xC0000000 + 1G overflows). */
if (mem > -page_offset)
mapped_pages = mem/getpagesize();
else
mapped_pages = -page_offset/getpagesize();
Cheers
Matias
[-- Attachment #1.2: Type: text/html, Size: 741 bytes --]
[-- Attachment #2: Type: text/plain, Size: 184 bytes --]
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/virtualization
next reply other threads:[~2007-06-28 17:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-28 17:03 Matias Zabaljauregui [this message]
2007-06-29 12:11 ` Lguest Rusty Russell
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=21a166410706281003p79949542t2f90bfe6e2d7bda3@mail.gmail.com \
--to=matias.zabaljauregui@cern.ch \
--cc=virtualization@lists.linux-foundation.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