Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pal init: Move InitializeFlushProcessWriteBuffers() after VIRTUALInit…
…ialize() (#107114) A fixup of commit 27ee590 that's broken on platforms which don't support membarrier() syscall: GetVirtualPageSize() is called in the fallback path of InitializeFlushProcessWriteBuffers() and attempts to mmap() zero bytes. Move InitializeFlushProcessWriteBuffers() after VIRTUALInitialize() but before the first thread is created. Fixes #106892 Fixes #106722 Co-authored-by: Haris Okanovic <harisokn@amazon.com>
- Loading branch information