Tools for safe management of persistent main memory.
A tech report describing the ideas behind these tools is available at:
http://www.pdl.cmu.edu/PDL-FTP/NVM/CMU-PDL-11-114v2.pdf
Slides for a TRIOS'13 talk presenting these techniques:
Tools for safe management of persistent main memory.
License: Other
Tools for safe management of persistent main memory.
A tech report describing the ideas behind these tools is available at:
http://www.pdl.cmu.edu/PDL-FTP/NVM/CMU-PDL-11-114v2.pdf
Slides for a TRIOS'13 talk presenting these techniques:
In the implementation of NVMalloc, some different free list_heads may point to memory regions with overlapping areas. For example, the figure above is extracted from your paper, in this figure, the second 1-bl list_head points to the chunk with one block length, the first 2-bl list_head points to the chunk with two blocks length, and the 3-bl list_head points to the chunk with three blocks length, these chunks have some overlapping areas, so these list_heads are related. I think when a chunk is allocated, the list_head that points to this chunk need to be released, at the same time, the related list_heads need to be released too. However, in your code, I only found that you free the former list_head, and the related list_heads are not freed. This will cause the later allocations may allocate to the memory blocks that is in use.
In order to check this problem, I added a judgement statement in function makeOne(), this function is called in getFreeLocation(). When a free memory is allocated, makeOne() will modify the corresponding state value in bitmap. If the allocated memory is in use, bitmap[index] & mask will be 1, I will print the error and exit the program. In test I did encounter this error. So I am wondering if you have omitted this point. If so, please let me know.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.