RFR: 8348554: Enhance Linux kernel version checks [v3]

Fei Yang fyang at openjdk.org
Fri Jan 24 12:57:46 UTC 2025


On Fri, 24 Jan 2025 11:46:10 GMT, Robbin Ehn <rehn at openjdk.org> wrote:

>> Hi, please consider.
>> 
>> As we have kernel bugs to work around in RISC-V, we need a more detailed check.
>> See:
>> https://github.com/openjdk/jdk/pull/23256
>> 
>> I updated the naming to align with Linux (major, patch, sub):
>> https://github.com/torvalds/linux/blob/bc8198dc7ebc492ec3e9fa1617dcdfbe98e73b17/Makefile#L1313
>> 
>> Additionally, I added a comparison function to simplify these checks.
>> 
>> Manually tested. Thanks, Robbin.
>
> Robbin Ehn has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Init version comps to 0

LGTM.

-------------

Marked as reviewed by fyang (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/23291#pullrequestreview-2572581968


More information about the hotspot-runtime-dev mailing list