Skip to content

Commit 27c20d2

Browse files
committed
reduced size in PM of romuluslog
1 parent 5fe84df commit 27c20d2

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

ptms/romuluslog/RomulusLog.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
// Size of the persistent memory region
2222
#ifndef PM_REGION_SIZE
23-
#define PM_REGION_SIZE (2*1024*1024*1024ULL) // 2GB by default (to run on laptop)
23+
#define PM_REGION_SIZE (400*1024*1024ULL) // 400 MB by default (to run on laptop)
2424
#endif
2525
// DAX flag (MAP_SYNC) is needed for Optane but not for /dev/shm/
2626
#ifdef PM_USE_DAX

ptms/rwlocks/CRWWP_SpinLock.hpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,7 @@
5252
* <h1> C-RW-WP </h1>
5353
*
5454
* A C-RW-WP reader-writer lock with writer preference and using a
55-
* Ticket Lock as Cohort.
56-
* This is starvation-free for writers and for readers, but readers may be
57-
* starved by writers.
55+
* spin Lock as Cohort.
5856
*
5957
* C-RW-WP paper: http://dl.acm.org/citation.cfm?id=2442532
6058
*

0 commit comments

Comments
 (0)