RFR: 8348554: Enhance Linux kernel version checks [v3]
Aleksey Shipilev
shade at openjdk.org
Fri Jan 24 11:46:10 UTC 2025
On Fri, 24 Jan 2025 11:42:49 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
Looks fine to me, thanks.
-------------
Marked as reviewed by shade (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/23291#pullrequestreview-2572422791
More information about the hotspot-runtime-dev
mailing list