RFR: 8255799: AArch64: CPU_A53MAC feature may be set incorrectly

Andrew Haley aph at redhat.com
Wed Nov 4 09:54:59 UTC 2020


On 04/11/2020 08:33, Nick Gasson wrote:
> It's not a feature of single-core CPUs: AFAIK it's a work around for very old arm64 kernels that only reported a single CPU in `/proc/cpuinfo` on multi-core systems where you may have a mix of different CPU types (i.e. mixed A53/A57 where the A57 is reported in cpuinfo).
> 
> I wonder if we should just remove this workaround altogether? The patch to list all CPUs in `/proc/cpuinfo` was backported to at least the 3.10 series. I really doubt there's anyone running latest OpenJDK on a A53 with such an old kernel.

Yes, please.

And while we're talking about Linux, can we really not get the info we need
without parsing /proc/cpuinfo? And do we need to parse the entire file?

This is not good for startup.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the hotspot-dev mailing list