Messages in this thread | | | From | David Laight <> | Subject | RE: mainline build failure for x86_64 allmodconfig with clang | Date | Sun, 7 Aug 2022 17:36:48 +0000 |
| |
From: Arnd Bergmann > Sent: 05 August 2022 20:32 ... > One thing to try would be to condense a function call like > > dml32_CalculateWatermarksMALLUseAndDRAMSpeedChangeSupport( > ... > .... /* more arguments */); > > into calling conventions that take a pointer to 'mode_lib->vba' and another > one to 'v', so these are no longer passed on the stack individually.
Or, if it is only called once (I can't find the source) force it to be inlined.
Or just shoot the software engineer who thinks 100 arguments is sane. :-)
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |