Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8233535

Distinguish page not yet faulted in case at os::numa_get_group_id_for_address()

    Details

    • Type: Enhancement
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 14
    • Fix Version/s: tbd
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
      gc
    • OS:
      linux

      Description

      Currently os::numa_get_group_id_for_address() only returns 'valid NUMA id' or '-1'.

      However returning 'not yet faulted in' value also may useful. The underlying implementation on Linux uses the syscall move_pages() and for addresses not yet faulted we get the status -EFAULT (for normal pages) or -ENOENT (for large pages) returned. We could use this information to return more detailed information from numa_get_group_id_for_address(), but we need to investigate the benefit of doing it.

      This idea was brought up during code review of JDK-8220312.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sangheki Sangheon Kim
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: