path: root/README
diff options
authorH. Peter Anvin <hpa@zytor.com>2001-10-23 03:08:42 +0000
committerH. Peter Anvin <hpa@zytor.com>2001-10-23 03:08:42 +0000
commit9e0923f6291e0a6f98a91bf5cafcb9ef0ed0405f (patch)
tree7d03a25c159bf948a0b1b7694362cea2dc5d7120 /README
parente2c07775f2cda3c25a8e2ed47fbf1f0de4d548c1 (diff)
If the base address doesn't match, try to map at the required base
address instead.
Diffstat (limited to 'README')
1 files changed, 6 insertions, 1 deletions
diff --git a/README b/README
index 1d929ae..4d2aa35 100644
--- a/README
+++ b/README
@@ -54,7 +54,8 @@ The LPSM library installs a signal handler for SIGSEGV.
* Functions to use in unmanaged mode:
-void *lpsm_arena_init(const char *datafile, const char *logfile, size_t *arena_size)
+void *lpsm_arena_init(const char *datafile, const char *logfile,
+ size_t *arena_size, void *arena_base)
Open the persistent memory arena that consists of the two
files datafile and logfile. If these files don't exist, they
@@ -64,6 +65,10 @@ void *lpsm_arena_init(const char *datafile, const char *logfile, size_t *arena_s
It returns a pointer to the arena, or NULL on error.
+ If arena_base is set, try to map the arena at that particular
+ base address. If arena_base is NULL, use an
+ architecture-specific default value.
pid_t lpsm_checkpoint(double ratio, enum psmsync wait)