Re: [PATCH 15/15] cpu_x86: Fix algorithm for computing CPU model weight

2025-04-29 Thread Peter Krempa via Devel
On Tue, Apr 29, 2025 at 12:19:50 +0200, Jiri Denemark via Devel wrote: > From: Jiri Denemark > > This patch is effectively a NOP, but it fixes a logic bug and makes the > heuristics more visible and easier to change should there be a need to > do so in the future. > > We decide which CPU model i

[PATCH 15/15] cpu_x86: Fix algorithm for computing CPU model weight

2025-04-29 Thread Jiri Denemark via Devel
From: Jiri Denemark This patch is effectively a NOP, but it fixes a logic bug and makes the heuristics more visible and easier to change should there be a need to do so in the future. We decide which CPU model is the best match for given CPU data by comparing lists of features that need to be en