RFR: 8348554: Enhance Linux kernel verions checks

Robbin Ehn rehn at openjdk.org
Fri Jan 24 09:10:23 UTC 2025


Hi please considered.

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 names according Linux (major, patch, sub):
https://github.com/torvalds/linux/blob/bc8198dc7ebc492ec3e9fa1617dcdfbe98e73b17/Makefile#L1313

And I added a comp func to make these checks easier.

Manual tested, thanks Robbin

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

Commit messages:
 - Use all three version numbers

Changes: https://git.openjdk.org/jdk/pull/23291/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=23291&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8348554
  Stats: 35 lines in 3 files changed: 24 ins; 0 del; 11 mod
  Patch: https://git.openjdk.org/jdk/pull/23291.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/23291/head:pull/23291

PR: https://git.openjdk.org/jdk/pull/23291


More information about the hotspot-runtime-dev mailing list