RE: [PATCH] x86/resctrl: Do not round up mba_MBps values in schemata file

From: Luck, Tony
Date: Fri Sep 27 2024 - 19:04:00 EST


> A fix for this issue is already being discussed. Please see latest fix
> at [1] that additionally addresses the issue if a user attempts to
> write a value larger than 4294967295. Could you please check if that
> fix works for you?

That one looks more complete. My patch only covered the case for overflow
during roundup. That one uses kstrtou32() instead of kstrtoul() so will also
catch the case where a user enters a value bigger that U32_MAX.

-Tony