-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
[AIX] Fix hangs during testing #137967
base: master
Are you sure you want to change the base?
[AIX] Fix hangs during testing #137967
Conversation
r? @ChrisDenton rustbot has assigned @ChrisDenton. Use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM from the AIX perspective. These test cases hang the test run indefinitely at the moment, so this unblocks regular runs.
tests/ui/consts/large_const_alloc.rs
Outdated
@@ -2,6 +2,7 @@ | |||
// on 32bit and 16bit platforms it is plausible that the maximum allocation size will succeed | |||
// FIXME (#135952) In some cases on AArch64 Linux the diagnostic does not trigger | |||
//@ ignore-aarch64-unknown-linux-gnu | |||
//@ ignore-aix: FIXME(#137966) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the system behaves badly on large allocations, then there is nothing to fix here.
//@ ignore-aix: FIXME(#137966) | |
//@ ignore-aix: alloc failure on AIX can result in SIGKILL instead of nullptr |
@daltenty Do you have any idea why it sometimes hangs and sometimes SIGKILLs? |
It not exactly an "hang". |
...Is the problem that you literally have 128TiB of RAM? |
Hm, wait... laziness in paging due to overcommit, resulting in the system accepting an allocation that can't possibly be respected if called but assuming that no one will actually call that bluff? |
@@ -2,6 +2,9 @@ | |||
// on 32bit and 16bit platforms it is plausible that the maximum allocation size will succeed | |||
// FIXME (#135952) In some cases on AArch64 Linux the diagnostic does not trigger | |||
//@ ignore-aarch64-unknown-linux-gnu | |||
// AIX will allow allow the allocation to go through, and get SIGKILL when zero initializing |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// AIX will allow allow the allocation to go through, and get SIGKILL when zero initializing | |
// AIX will allow the allocation to go through, and get SIGKILL when zero initializing |
@@ -2,6 +2,9 @@ | |||
// on 32bit and 16bit platforms it is plausible that the maximum allocation size will succeed | |||
// FIXME (#135952) In some cases on AArch64 Linux the diagnostic does not trigger | |||
//@ ignore-aarch64-unknown-linux-gnu | |||
// AIX will allow allow the allocation to go through, and get SIGKILL when zero initializing | |||
// the overcommited page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// the overcommited page. | |
// the overcommitted page. |
// AIX will allow allow the allocation to go through, and get SIGKILL when zero initializing | ||
// the overcommited page. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
// AIX will allow allow the allocation to go through, and get SIGKILL when zero initializing | |
// the overcommited page. | |
// AIX will allow the allocation to go through, and get SIGKILL when zero initializing | |
// the overcommitted page. |
address nits, squash, and then r=me |
Fixes all current test hangs experienced during CI runs.
library/std/src/net/udp/tests.rs