aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJosh Gao <jmgao@google.com>2016-11-17 18:52:09 -0800
committerJosh Gao <jmgao@google.com>2016-11-17 18:52:09 -0800
commit6cd1c92dc9d315dd3b6bb77cbe4a717becdd0b8d (patch)
tree387823ba1b10c6d5d1f0cb28ebd995937ca20171 /README.md
parent8945d5e43a25737f3f888a90742cc918b1124a05 (diff)
downloadbionic-6cd1c92dc9d315dd3b6bb77cbe4a717becdd0b8d.tar.gz
Add note about pid_max to host test documentation.
Bug: none Test: none Change-Id: I3e446744076131329201543fa29b71fc4f843728
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 6f8edf488..0dd7490e9 100644
--- a/README.md
+++ b/README.md
@@ -219,6 +219,9 @@ in particular for test isolation and parallelism (both on by default).
### Host tests
The host tests require that you have `lunch`ed either an x86 or x86_64 target.
+Note that due to ABI limitations (specifically, the size of pthread_mutex_t),
+32-bit bionic requires PIDs less than 65536. To enforce this, set /proc/sys/kernel/pid_max
+to 65536.
$ ./tests/run-on-host.sh 32
$ ./tests/run-on-host.sh 64 # For x86_64-bit *targets* only.