commit | d39adf2a4a51fdc027316afd800c24157056569c | [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 | fa32717d2b9cc28468d59c452dbb36d58b0983e1 | |
parent | a0e50d0b56f6f831f81344f3a36e5733092c16d0 [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