ericmckean / seccompsandbox

Automatically exported from code.google.com/p/seccompsandbox
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

seccomp-sandbox dirties 4k*kMaxThreads on startup (currently 400k) #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
trusted_process.cc writes to one page per kMaxThreads on startup.
Since kMaxThreads is currently 100, this uses 400k of memory.

It should be possible to change this so that we only touch these pages
as new threads are created.

Original issue reported on code.google.com by mseaborn@chromium.org on 1 Oct 2010 at 12:05

GoogleCodeExporter commented 9 years ago
See also issue 8.

Original comment by mseaborn@chromium.org on 1 Oct 2010 at 12:07