3

There are a few options: if a page is in memory then it cannot be on disk as well, As such there is no duplication and the issue doesn't exist. there is more than just the MMU's pagetable to hold paging information. This mean that the kernel has an auxiliary data structure that says where the page is on disk and the MMU page table only tracks what is in ...


2

I would say it depends on the application and target architecture. Usually the x86 is the main target, but practices used there might not transfer well into a embedded domain. Other architectures (usually RISC) have large amount of registers, AVR has 32 registers 8-bits each and it's possible use finer granularity as some instructions have bit wise ...


Only top voted, non community-wiki answers of a minimum length are eligible