Skip to content

Map OMRPORT_RESOURCE_ADDRESS_SPACE to RLIMIT_MEMLIMIT for z/OS 64 bit#5886

Merged
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
JasonFengJ9:zosmemlimit
Apr 7, 2021
Merged

Map OMRPORT_RESOURCE_ADDRESS_SPACE to RLIMIT_MEMLIMIT for z/OS 64 bit#5886
0xdaryl merged 1 commit into
eclipse-omr:masterfrom
JasonFengJ9:zosmemlimit

Conversation

@JasonFengJ9

@JasonFengJ9 JasonFengJ9 commented Mar 31, 2021

Copy link
Copy Markdown
Contributor

z/OS application using IARV64/__moservices can only allocate memory at memory above bar which is specified by RLIMIT_MEMLIMIT, not RLIMIT_AS.

related #5881

Signed-off-by: Jason Feng fengj@ca.ibm.com

z/OS application using IARV64/__moservices can only allocate memory at
"memory above bar" which is specified by RLIMIT_MEMLIMIT, not RLIMIT_AS.


Signed-off-by: Jason Feng <fengj@ca.ibm.com>

@joransiu joransiu left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. We have confirmation from zOS team that RLIMIT_AS is applies only to below-the-bar storage, and RLIMIT_MEMLIMIT applies to above-the-bar.

@pshipton

pshipton commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

I still think that omrsysinfo_get_addressable_physical_memory() should subtract 2GB from the usableMemory on z/OS, but I guess that could be done in a separate PR.

@pshipton

pshipton commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

@babsingh can you pls review

@babsingh

babsingh commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

Jenkins build all

@babsingh

babsingh commented Apr 7, 2021

Copy link
Copy Markdown
Contributor

@0xdaryl Request to merge once the PR builds succeed.

@JasonFengJ9

Copy link
Copy Markdown
Contributor Author

I still think that omrsysinfo_get_addressable_physical_memory() should subtract 2GB from the usableMemory on z/OS, but I guess that could be done in a separate PR.

This can be discussed further at #5881

@0xdaryl 0xdaryl merged commit 1c85f98 into eclipse-omr:master Apr 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants