<div dir="ltr">Yes, it is. <br><div>thanks a lot,  my current kernel version 6.1.9 uses this:</div><div><br></div><div><font color="#ff0000">    if (!static_branch_likely(&riscv_isa_ext_keys[RISCV_ISA_EXT_KEY_ZIHINTPAUSE])) {<br></font></div><div><br></div><div>which has this issue, and kernel 5.15 / 5.19 / 6.20 do not use this array.</div><div><br></div><div>but I have no evidence about this, because gdb can not print vdso backtrace:</div><div><br></div><div>(gdb) info threads <br>  Id   Target Id                                         Frame <br>  1    Thread 0x7ffff7e97020 (LWP 432) "java"            0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff6090250, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  2    Thread 0x7ffff6090180 (LWP 437) "java"            syscall (syscall_number=98, arg1=<optimized out>, arg2=128, arg3=21, arg4=0, arg5=0, arg6=0, arg7=178)<br>    at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/riscv/syscall.c:30<br>  3    Thread 0x7ffff48d7180 (LWP 438) "GC Thread#0"     0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0068508, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  4    Thread 0x7ffff46d5180 (LWP 439) "G1 Main Marker"  0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0025ad8, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  5    Thread 0x7ffff44d3180 (LWP 440) "G1 Conc#0"       0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0070758, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  6    Thread 0x7fffd839e180 (LWP 441) "G1 Refine#0"     0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff00a1318, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  7    Thread 0x7fffc9fff180 (LWP 442) "G1 Service"      0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff00a2468, expected=<optimized out>, op=<optimized out>, abstime=0x7fffc9ffe6e8, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  8    Thread 0x7fffc9dfd180 (LWP 443) "VM Thread"       0x00007ffff7f23466 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffc9dfc268, rem=0x0)<br>    at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/clock_nanosleep.c:48<br>  9    Thread 0x7fffc9bfb180 (LWP 444) "Reference Handl" 0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff002a078, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  10   Thread 0x7fffc99fb180 (LWP 445) "Finalizer"       0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0221678, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  11   Thread 0x7fffc97fb180 (LWP 446) "Signal Dispatch" 0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0017cf0, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  12   Thread 0x7fffc95fb180 (LWP 447) "Service Thread"  0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0026938, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  13   Thread 0x7fffc93fb180 (LWP 448) "Monitor Deflati" 0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0026858, expected=<optimized out>, op=<optimized out>, abstime=0x7fffc93fa6d8, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  14   Thread 0x7fffc91fb180 (LWP 449) "C2 CompilerThre" 0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0027b08, expected=<optimized out>, op=<optimized out>, abstime=0x7fffc91fa548, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  15   Thread 0x7fffc8ffb180 (LWP 450) "C1 CompilerThre" syscall (syscall_number=98, arg1=<optimized out>, arg2=128, arg3=21, arg4=0, arg5=0, arg6=0, arg7=178)<br>    at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/riscv/syscall.c:30<br>  16   Thread 0x7fffc8dfb180 (LWP 451) "Notification Th" 0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0026a18, expected=<optimized out>, op=<optimized out>, abstime=0x0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>  17   Thread 0x7fffc8bfb180 (LWP 452) "VM Periodic Tas" 0x00007ffff7f23466 in __GI___clock_nanosleep (clock_id=clock_id@entry=0, flags=flags@entry=0, req=0x7fffc8bfa788, rem=0x0)<br>    at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/clock_nanosleep.c:48<br>  18   Thread 0x7fffc89f9180 (LWP 453) "Common-Cleaner"  0x00007ffff7efa506 in __futex_abstimed_wait_common64 (futex_word=0x7ffff0366f88, expected=<optimized out>, op=<optimized out>, abstime=0x7fffc89f7bf0, <br>    private=<optimized out>, cancel=<optimized out>) at futex-internal.c:57<br>* 19   Thread 0x7fffc87f9180 (LWP 454) "Tail"            _SafeFetch32_fault () at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/os_cpu/linux_riscv/safefetch_linux_riscv.S:40<br>  20   Thread 0x7fffc85f9180 (LWP 455) "Tail"            syscall (syscall_number=98, arg1=<optimized out>, arg2=128, arg3=21, arg4=0, arg5=0, arg6=0, arg7=178)<br>    at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/riscv/syscall.c:30<br>(gdb) bt<br>#0  _SafeFetch32_fault () at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/os_cpu/linux_riscv/safefetch_linux_riscv.S:40<br>#1  0x00007ffff6ed5072 in SafeFetch32 (adr=0x18c87f7fa0, errValue=-889275714) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/safefetch.hpp:51<br>#2  0x00007ffff6effd62 in os::is_readable_pointer (p=0x18c87f7fa0) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/os.cpp:1115<br>#3  0x00007ffff6effece in os::print_location (st=0x7fffc87f2830, x=106443014048, verbose=false) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/os.cpp:1151<br>#4  0x00007ffff724c832 in VMError::report (st=0x7fffc87f2830, _verbose=true) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:890<br>#5  0x00007ffff724eff6 in VMError::report_and_die (id=-536870912, message=0x7ffff782b9c0 "assert(!is_global_tagged(handle) || is_storage_handle(global_handles(), global_ptr(handle))) failed", <br>    detail_fmt=0x7ffff782b9b0 "invalid storage", detail_args=0x7fffc87f29e0, thread=0x7ffff05255b0, pc=0x0, siginfo=0x0, context=0x0, <br>    filename=0x7ffff782b780 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/jniHandles.cpp", lineno=245, size=0)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1588<br>#6  0x00007ffff724e766 in VMError::report_and_die (thread=0x7ffff05255b0, context=0x0, filename=0x7ffff782b780 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/jniHandles.cpp", <br>    lineno=245, message=0x7ffff782b9c0 "assert(!is_global_tagged(handle) || is_storage_handle(global_handles(), global_ptr(handle))) failed", detail_fmt=0x7ffff782b9b0 "invalid storage", <br>    detail_args=0x7fffc87f29e0) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1351<br>#7  0x00007ffff67acf9e in report_vm_error (file=0x7ffff782b780 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/jniHandles.cpp", line=245, <br>    error_msg=0x7ffff782b9c0 "assert(!is_global_tagged(handle) || is_storage_handle(global_handles(), global_ptr(handle))) failed", detail_fmt=0x7ffff782b9b0 "invalid storage")<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/debug.cpp:286<br>#8  0x00007ffff6ba1178 in JNIHandles::is_global_handle (handle=0x7ffff7fe0916 <__vdso_clock_gettime+228>) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/jniHandles.cpp:245<br>#9  0x00007ffff6efff02 in os::print_location (st=0x7fffc87f36e0, x=140737354008854, verbose=false) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/runtime/os.cpp:1155<br>#10 0x00007ffff6f13062 in os::print_register_info (st=0x7fffc87f36e0, context=0x7fffc87f7ba0) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/os_cpu/linux_riscv/os_linux_riscv.cpp:387<br>#11 0x00007ffff724c578 in VMError::report (st=0x7fffc87f36e0, _verbose=true) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:867<br>#12 0x00007ffff724eff6 in VMError::report_and_die (id=-536870912, message=0x7ffff758ceb0 "assert(false) failed", detail_fmt=0x7ffff758ce80 "section header string table should be loaded", <br>    detail_args=0x7fffc87f3890, thread=0x7ffff05255b0, pc=0x0, siginfo=0x0, context=0x0, filename=0x7ffff758ca50 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp", <br>    lineno=536, size=0) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1588<br>#13 0x00007ffff724e766 in VMError::report_and_die (thread=0x7ffff05255b0, context=0x0, filename=0x7ffff758ca50 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp", <br>    lineno=536, message=0x7ffff758ceb0 "assert(false) failed", detail_fmt=0x7ffff758ce80 "section header string table should be loaded", detail_args=0x7fffc87f3890)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1351<br>#14 0x00007ffff67acf9e in report_vm_error (file=0x7ffff758ca50 "/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp", line=536, <br>    error_msg=0x7ffff758ceb0 "assert(false) failed", detail_fmt=0x7ffff758ce80 "section header string table should be loaded")<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/debug.cpp:286<br>#15 0x00007ffff6865928 in ElfFile::read_section_header (this=0x7fff880049d0, name=0x7ffff758cd48 ".gnu_debuglink", hdr=...)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp:536<br>#16 0x00007ffff6865066 in ElfFile::read_debug_info (this=0x7fff880049d0, debug_info=0x7fffc87f39f8) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp:407<br>#17 0x00007ffff6864f0e in ElfFile::load_dwarf_file (this=0x7fff880049d0) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp:391<br>#18 0x00007ffff6864c9a in ElfFile::get_source_info (this=0x7fff880049d0, offset_in_library=2326, filename=0x7fffc87f6c08 "", filename_len=128, line=0x7fffc87f6bfc, is_pc_after_call=false)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/elfFile.cpp:354<br>#19 0x00007ffff67b45ac in ElfDecoder::get_source_info (this=0x7fff880042f0, pc=0x7ffff7fe0916 <__vdso_clock_gettime+228> "\334CcR\360\b\017", filename=0x7fffc87f6c08 "", filename_len=128, line=0x7fffc87f6bfc, <br>    is_pc_after_call=false) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/decoder_elf.cpp:90<br>#20 0x00007ffff67b3cd6 in Decoder::get_source_info (pc=0x7ffff7fe0916 <__vdso_clock_gettime+228> "\334CcR\360\b\017", filename=0x7fffc87f6c08 "", filename_len=128, line=0x7fffc87f6bfc, is_pc_after_call=false)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/decoder.cpp:118<br>#21 0x00007ffff7249f5a in VMError::print_native_stack (st=0x7fffc87f7870, fr=..., t=0x7ffff05255b0, print_source_info=true, max_frames=-1, <br>    buf=0x7ffff7e8f350 <VMError::report(outputStream*, bool)::buf> "mill.main.client.FileToStreamTailer.run()V", buf_size=2000)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:366<br>#22 0x00007ffff724beee in VMError::report (st=0x7fffc87f7870, _verbose=true) at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:820<br>#23 0x00007ffff724eff6 in VMError::report_and_die (id=11, message=0x0, detail_fmt=0x7ffff7c278c0 "%s", detail_args=0x7fffc87f79d0, thread=0x7ffff05255b0, <br>    pc=0x7ffff7fe0916 <__vdso_clock_gettime+228> "\334CcR\360\b\017", siginfo=0x7fffc87f7b20, context=0x7fffc87f7ba0, filename=0x0, lineno=0, size=0)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1588<br>#24 0x00007ffff724e69c in VMError::report_and_die (thread=0x7ffff05255b0, sig=11, pc=0x7ffff7fe0916 <__vdso_clock_gettime+228> "\334CcR\360\b\017", siginfo=0x7fffc87f7b20, context=0x7fffc87f7ba0, <br>    detail_fmt=0x7ffff7c278c0 "%s") at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1339<br>#25 0x00007ffff724e708 in VMError::report_and_die (thread=0x7ffff05255b0, sig=11, pc=0x7ffff7fe0916 <__vdso_clock_gettime+228> "\334CcR\360\b\017", siginfo=0x7fffc87f7b20, context=0x7fffc87f7ba0)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/share/utilities/vmError.cpp:1345<br>#26 0x00007ffff70c389e in JVM_handle_linux_signal (sig=11, info=0x7fffc87f7b20, ucVoid=0x7fffc87f7ba0, abort_if_unrecognized=1)<br>    at /usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/os/posix/signals_posix.cpp:655<br>#27 0x00007ffff70c3936 in javaSignalHandler (sig=11, info=0x7fffc87f7b20, context=0x7fffc87f7ba0) at <font color="#ff0000">/usr/src/debug/openjdk/20+gitAUTOINC+5dfc4ec7d9-r0/src/hotspot/os/posix/signals_posix.cpp:666<br>#28 <signal handler called><br>#29 0x00007ffff7fe0916 in __vdso_clock_gettime ()<br>#30 0x00007ffff7f23356 in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at /usr/src/debug/glibc/2.37-r0/sysdeps/unix/sysv/linux/clock_gettime.c:42<br>#31 0x00000000d5fa7858 in ?? ()</font><br>(gdb) <br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tommy Murphy <<a href="mailto:tommy_murphy@hotmail.com">tommy_murphy@hotmail.com</a>> 于2023年1月31日周二 22:01写道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div style="color:rgb(33,33,33);background-color:rgb(255,255,255)" dir="auto">
Could it be related to this issue?</div>
<div style="color:rgb(33,33,33);background-color:rgb(255,255,255)" dir="auto">
<br>
</div>
<div style="color:rgb(33,33,33);background-color:rgb(255,255,255)" dir="auto">
<a href="https://lore.kernel.org/all/3815b200-a9e2-a3db-c7f1-1e3f86dbab3f@cloudbear.ru/T/#rccffdbbebe5130653c80cdd5189ed25fdc609936" target="_blank">https://lore.kernel.org/all/3815b200-a9e2-a3db-c7f1-1e3f86dbab3f@cloudbear.ru/T/#rccffdbbebe5130653c80cdd5189ed25fdc609936</a> </div>
</div>

</blockquote></div>