RE: [PATCH] fs/select: avoid clang stack usage warning

From: David Laight
Date: Sun Oct 09 2022 - 06:50:02 EST


From: Nick Desaulniers
> Sent: 07 October 2022 20:04
...
> It looks like for arrays INIT_STACK_ALL_PATTERN uses memset to fill
> the array with 0xFF rather than 0x00 used by INIT_STACK_ALL_ZERO. Not
> sure why that would make a difference, but curious that it does.

How much performance does filling the array cost?
I'd suspect it is enough to be measurable.

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)