From: "amey d inamdar" <iamey@rediffmail.com>
To: linux-mm@kvack.org
Subject: Stealing memory pages.
Date: 18 Dec 2001 07:01:43 -0000 [thread overview]
Message-ID: <20011218070143.15173.qmail@mailFA5.rediffmail.com> (raw)
Hi,
We are a group of four students, working on a project, "Implementation of Network RAM". We want to add the remote pages to the address space of a process ( by Modifying page fault handler).
For the same reason we need a fixed allocation of a pool of page frames on each machine, which will serve as source for NRAM pages. This pool on each machine will be handled by a "Server" which will be implemented as a kernel module.
So at the initialization only, we have to allocate the page frames to the module. We did it successfully as follows:
1) After setting up mem_map ( array of page *), while freeing individual page we didn't give last few pages to the buddy deallocator.
2) We individually marked all those pages non-reserved and stored virtual address of start of the first page frame. (__va(page)). The virtual address is part of kernel address space.
3) Now our server module will use this address and total no of pages, to manage allocation of pages to a remote process.
My question is that, whether blocking such virtual address space inside the kernel can cause harm to its functionality? The machine is still working fine, but are there any ill-effects of such page frame stealing?
thank you in anticipation.
- Amey
--
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-mm.org/
next reply other threads:[~2001-12-18 7:01 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-18 7:01 amey d inamdar [this message]
2001-12-18 16:04 ` Ravi K
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=20011218070143.15173.qmail@mailFA5.rediffmail.com \
--to=iamey@rediffmail.com \
--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