Skip to content
Advertisement

Tag: memory-management

In the kernel space, how does one get the physical addresses corresponding to a file on ext4-formatted disk

If you’re here: https://github.com/torvalds/linux/blob/master/fs/ext4/file.c#L360 You have access to these two structs inside the ext4_file_mmap function: I am changing the implementation of this function for dax mode so that the page tables get entirely filled out for the file the moment you call mmap (to see how much better performance not taking any pagefaults gives us). I have managed to get

Does Linux have a page file? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question

Advertisement