i can see that you have solved the question in assumption that page table is not in cache, only pages are in the cache and page table is in main memory..
since it is two level paging wouldn’t it better to have page tables in cache and pages in memory for better access time.
can anyone clear my doubt?