What kinds of pages are categorized into unmovable pages and movable pages in Linux Kernel?
-
For unmovable pages please be specific like kernel kmalloc, or vmalloc or all types of kernel pages, or Page cache pages ? Also, what all pages comes in category of MOVABLE PAGES(MIGRATE_MOVABLE) ?: Is it all page cache pages, user malloc pages mmaped pages ? Few things which I want to confirm other than answers to above Q. 1. All pages allocated for page tables are unmovable pages. 2. Pages which are allocated using GFP_ATOMIC are unmovable pages. 3. can user do pinned pages allocation which becomes unmovable ? How to do this.
-
Answer:
MOVABLE_PAGES: Those pages which are address though a layer of indirection and which are not otherwise pinned down are movable. So most user-space pages which are accesses using virtual addresses can be moved -> All we need to do is to tweak the relevant page table entries accordingly. UNMOVABLE_PAGES: Now, most memory used by kernel directly cannot be moved- though some of it is reclaimable, meaning that it can be freed entriely on demand. But even I am not entriely sure how to use pinned pages, and which kernel memory is set as reclaimable memory. Good if or some expert in linux kernel answer this question.
Anonymous at Quora Visit the source
Other answers
Check http://lwn.net/Articles/368869/ for details
Anand Bhat
Related Q & A:
- How to boot linux kernel without bootloader?Best solution by Super User
- How to get the timestamp of linux kernel?Best solution by Stack Overflow
- How to artificially cause a page fault in linux kernel?Best solution by Stack Overflow
- What kinds of jobs can you get with a computer science degree?Best solution by Quora
- What kinds of boats are there?Best solution by Yahoo! Answers
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.