commit | a63f7e2fb8c62e75f500f76b44a0c24f8c9cc6b8 | [log] [tgz] |
---|---|---|
author | Daniel Colascione <dancol@google.com> | Fri Jan 05 14:59:55 2018 -0800 |
committer | Daniel Colascione <dancol@google.com> | Wed Jan 24 01:53:52 2018 +0000 |
tree | 9885ef8599db37849627f3bd6bfc72a30b9c9792 | |
parent | 2ab75e6f754c3f5e5331595335759eeff0426858 [diff] |
Add MCL_ONFAULT to mlockall This way, we don't fault in the entirety of our DSOs immediately; instead, used pages are "sticky" in memory. Works only on kernel 4.4 and up: downlevel, we ignore the mlockall failure. Once we get statically-linked lmkd in better shape, we'll just switch to that. Change-Id: I07a75ee3bc1264a1db41635c2acf611fede99b91