Qualcomm Interview Question
Software Engineer / DevelopersWTF, virtual memory is not the space on disk, literally. Its a non-existing memory. whenever a process asks for memory which is virtual, OS checks for available memory on RAM[primary memory] and allocates if its available there and if its not available then it has to swap some other process'[that is sitting idle] memory to make room for this one. Look here to know more:
en.wikipedia.org/wiki/Virtual_memory
Virtual memory is allocated over the disk.And operating system already knows where it is located at the disk.
- Anonymous September 17, 2009MMU is hardware.
TLB is a hardware too which keep track of the swapped pages.
Any Comments?????