check for insane stack size in MemoryIdler
Summary: In code that accidentally sets an impossibly huge stack size (RLIMIT_SIZE=-1, for example), MemoryIdler can unmap pages beyond the stack that are still in use. This diff causes that case to assert in debug builds and disable memory idling in production. Reviewed By: edwinsmith Differential Revision: D7688511 fbshipit-source-id: 7ef4261aaa3273ac7edf9edf596c2ea504e35877
Showing
Please register or sign in to comment