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()

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 14
    • hotspot
    • gc
    • linux

      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.

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

              Created:
              Updated: