I am trying to understand the difference between the valid-invalid bit and the modify bit in paging
My current understanding is that the valid invalid bit is in the page table and indicates whether that page has a corresponding frame mapped to it in physical memory. On the other hand the modify bit is present in the frame table which indicates whether that frame has been written into so we can preferably overwrite a frame without having to write it back to disk.
Is this a correct understanding? Particularly the locations where these are present?
Any other insights are gladly accepted