NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 118 forks source link

Split superpage allocation #86

Closed pleiadesian closed 3 years ago

pleiadesian commented 3 years ago

fixed #85

pleiadesian commented 3 years ago

I've tested with a simple fallocate program which fallocates 2G and accesses pgoff 512 and 513. According to trace log, super pages are allocated and page fault is only triggered at pgoff 512.

Andiry commented 3 years ago

Thanks, I will take a look.

Andiry

On Sat, Sep 5, 2020 at 9:12 PM wzl notifications@github.com wrote:

I've tested with a simple fallocate program which fallocates 2G and accesses pgoff 512 and 513. According to trace log https://urldefense.com/v3/__https://gist.github.com/pleiadesian/d6d16e33a552b6d351807b07d7e8140e*file-trace-log__;Iw!!Mih3wA!V3sefpVfj7dA_owZJq6yVXN-FBFQguODWfXG4o4sYy3I5YbbmuogkMAT1922Dr6zpmcm$, super pages are allocated and page fault is only triggered at pgoff 512.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://urldefense.com/v3/__https://github.com/NVSL/linux-nova/pull/86*issuecomment-687697241__;Iw!!Mih3wA!V3sefpVfj7dA_owZJq6yVXN-FBFQguODWfXG4o4sYy3I5YbbmuogkMAT1922DrMHg96V$, or unsubscribe https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AAKBYEGXSCI7CJC3NLZZOU3SEMD3XANCNFSM4Q3XSHSA__;!!Mih3wA!V3sefpVfj7dA_owZJq6yVXN-FBFQguODWfXG4o4sYy3I5YbbmuogkMAT1922Dpsb1CMU$ .

pleiadesian commented 3 years ago

Merged 3 commits into one single commit.

Andiry commented 3 years ago

Thanks!