src: fix largepages regression · nodejs/node@f3115c4 · GitHub
Skip to content

Commit f3115c4

Browse files
Gabriel Schulhoftargos
authored andcommitted
src: fix largepages regression
During the addition of macOS support for large pages, a `memcpy` ended up under the wrong preprocessor directive. As a result, the newly allocated large pages were not initialized with a copy of the text section. Thanks to Suresh Srinivas <suresh.srinivas@intel.com>! PR-URL: #29914 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: David Carlier <devnexen@gmail.com>
1 parent 2695f82 commit f3115c4

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/large_pages/node_large_page.cc

Lines changed: 1 addition & 2 deletions

0 commit comments

Comments
 (0)