This repository has been archived by the owner on Nov 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
Merging PMDebugger into Pmemcheck #83
Open
dibang2008
wants to merge
11
commits into
pmem:pmem-3.15
Choose a base branch
from
dibang2008:pmem-3.15
base: pmem-3.15
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 7 commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
f83929f
original version
dibang2008 d0df662
just add new structure (store information array)
dibang2008 f0f2624
modify the algorithm of trace_pmem_store()
dibang2008 1ec6030
modify the algorithm of do_flush
dibang2008 263d2af
modify the algorithm of do_fence
dibang2008 93a2ec5
mini fix do_flush
dibang2008 58e2ccb
fix bugs and pass the simple verification (perl tests/vg_regtest pmem…
dibang2008 e4db72f
(1) format codes; (2) add a document to introduce what has change and…
dibang2008 f600a97
(1) Dynamically grow the array structure; (2) unify this code; (3) re…
dibang2008 0f26388
shorten codes and remove comments
dibang2008 ab4a7d1
align structure arr_md
dibang2008 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
.vscode/ | ||
*.o | ||
|
||
.DS_Store | ||
# / | ||
/.in_place | ||
/.vs | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, please ensure that is data structure is as compact as possible. If the
Bool
type is 1 byte, then, as @krzycz pointed out, this wastes tons of memory for alignment.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed this 'is_delete' flag and now I use 'address size = 0' to mark a persistent memory info as deleted