aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md3
-rw-r--r--bolt_ppc64.go3
2 files changed, 6 insertions, 0 deletions
diff --git a/README.md b/README.md
index 85810d9..0a61bb0 100644
--- a/README.md
+++ b/README.md
@@ -768,6 +768,9 @@ Here are a few things to note when evaluating and using Bolt:
can be reused by a new page or can be unmapped from virtual memory and you'll
see an `unexpected fault address` panic when accessing it.
+* Bolt uses an exclusive write lock on the database file so it cannot be
+ shared by multiple processes.
+
* Be careful when using `Bucket.FillPercent`. Setting a high fill percent for
buckets that have random inserts will cause your database to have very poor
page utilization.
diff --git a/bolt_ppc64.go b/bolt_ppc64.go
index 2dc6be0..9331d97 100644
--- a/bolt_ppc64.go
+++ b/bolt_ppc64.go
@@ -7,3 +7,6 @@ const maxMapSize = 0xFFFFFFFFFFFF // 256TB
// maxAllocSize is the size used when creating array pointers.
const maxAllocSize = 0x7FFFFFFF
+
+// Are unaligned load/stores broken on this arch?
+var brokenUnaligned = false