2

I am implementing kernel thread which scans whole physical pages in memory and inspect physical page frame numbers of in-used pages. At first, I thought I can check whether specific page is used by PG_lru flag but the scan result came out strangely.

Is there other way to inspect page is in-use or free?

Should I have to check _mapcount field in struct page?

Please help me... Thank you so much.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.