-
Notifications
You must be signed in to change notification settings - Fork 5.3k
statically linking GC PAL on linux #76985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 5 commits
41710cb
61426d7
225f725
4c54b0a
c4ac1e7
64af4b7
0e90a82
a585fc3
4c53ff8
6d441b7
d6450eb
71a5896
b6d04a1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -673,13 +673,6 @@ Initialize( | |
| goto CLEANUP15; | ||
| } | ||
|
|
||
| if (FALSE == NUMASupportInitialize()) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. assume its fine to remove the Numa initialization from the pal, since its now being handled with the gc_unix pal. |
||
| { | ||
| ERROR("Unable to initialize NUMA support\n"); | ||
| palError = ERROR_PALINIT_NUMA; | ||
| goto CLEANUP15; | ||
| } | ||
|
|
||
| TRACE("First-time PAL initialization complete.\n"); | ||
| init_count++; | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -513,6 +513,8 @@ BYTE * ClrVirtualAllocWithinRange(const BYTE *pMinAddr, | |
| return pResult; | ||
| } | ||
|
|
||
| #ifdef HOST_WINDOWS | ||
|
|
||
| //****************************************************************************** | ||
| // NumaNodeInfo | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete the
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yeah guess there is more cleanup required here, will do as part of a separate PR.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see that you are keeping the VM version of the current PAL for Windows under ifdefs. Is there a problem with using the GC PAL on Windows?
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. there shouldnt be an issue with moving windows too, just needs a some more wrangling. Also need to check with @Maoni0 that all numa stuff is handled appropriately in |
||
| //****************************************************************************** | ||
|
|
@@ -524,7 +526,6 @@ BYTE * ClrVirtualAllocWithinRange(const BYTE *pMinAddr, | |
| return ::VirtualAllocExNuma(hProc, lpAddr, dwSize, allocType, prot, node); | ||
| } | ||
|
|
||
| #ifdef HOST_WINDOWS | ||
| /*static*/ BOOL NumaNodeInfo::GetNumaProcessorNodeEx(PPROCESSOR_NUMBER proc_no, PUSHORT node_no) | ||
| { | ||
| return ::GetNumaProcessorNodeEx(proc_no, node_no); | ||
|
|
@@ -566,6 +567,7 @@ BYTE * ClrVirtualAllocWithinRange(const BYTE *pMinAddr, | |
| #endif // HOST_WINDOWS | ||
| #endif | ||
|
|
||
| #ifdef HOST_WINDOWS | ||
| /*static*/ BOOL NumaNodeInfo::m_enableGCNumaAware = FALSE; | ||
| /*static*/ uint16_t NumaNodeInfo::m_nNodes = 0; | ||
| /*static*/ BOOL NumaNodeInfo::InitNumaNodeInfoAPI() | ||
|
|
@@ -599,7 +601,6 @@ BYTE * ClrVirtualAllocWithinRange(const BYTE *pMinAddr, | |
| m_enableGCNumaAware = InitNumaNodeInfoAPI(); | ||
| } | ||
|
|
||
| #ifdef HOST_WINDOWS | ||
|
|
||
| //****************************************************************************** | ||
| // CPUGroupInfo | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.