diff options
author | David Carlier <devnexen@gmail.com> | 2019-08-05 14:00:15 +0100 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2019-08-20 11:43:47 -0700 |
commit | 32df017c5fa8de0b3070108b76be78e1ab18aeae (patch) | |
tree | 330ec8577b9dbbd63ed596497de047c966926461 /node.gyp | |
parent | 3b929989185fc9e1d89ef07c612ee02b84800378 (diff) | |
download | android-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.tar.gz android-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.tar.bz2 android-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.zip |
src: add large page support for macOS
Proposal to bring the support for this platform.
We assume the pse36 cpu flag is present for 2MB
large page support present in recent years
in mac line (not to be backported to 10.x anyway).
Recommended better for mac production servers rather
than casual mac books.
PR-URL: https://github.com/nodejs/node/pull/28977
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -817,7 +817,7 @@ }], ], }], - [ 'node_use_large_pages=="true" and OS in "linux freebsd"', { + [ 'node_use_large_pages=="true" and OS in "linux freebsd mac"', { 'defines': [ 'NODE_ENABLE_LARGE_CODE_PAGES=1' ], # The current implementation of Large Pages is under Linux. # Other implementations are possible but not currently supported. |