diff options
author | Darshan Kapashi <darshankapashi@gmail.com> | 2016-11-10 15:21:08 -0500 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-11-10 15:25:40 -0500 |
commit | 122d826d1d1b7ba6e73866331863fa1e0b3e99ea (patch) | |
tree | 77c2167cbe4ad0b48c64ae60aa82bc654ad9088e /Vagrantfile | |
parent | bef7e784d037f720697a215b9e21f13b385e6d3e (diff) | |
download | haskell-122d826d1d1b7ba6e73866331863fa1e0b3e99ea.tar.gz |
rts: Add api to pin a thread to a numa node but without fixing a capability
`rts_setInCallCapability` sets the thread affinity as well as pins the
numa node. We should also have the ability to set the numa node without
setting the capability affinity. `rts_pinNumaNodeForCapability` function
is added and exported via `RtsAPI.h`.
Previous callers of `rts_setInCallCapability` should now also call
`rts_pinNumaNodeForCapability` to get the same effect as before.
Test Plan:
./validate
Reviewers: austin, simonmar, bgamari
Reviewed By: simonmar, bgamari
Subscribers: thomie, niteria
Differential Revision: https://phabricator.haskell.org/D2637
GHC Trac Issues: #12764
Diffstat (limited to 'Vagrantfile')
0 files changed, 0 insertions, 0 deletions