Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH] [v2] x86: apic: avoid -Wshadow warning in header | Date | Thu, 29 Oct 2020 16:30:19 +0000 |
| |
From: Arnd Bergmann > Sent: 29 October 2020 09:51 ... > I think ideally there would be no global variable, withall accesses > encapsulated in function calls, possibly using static_call() optimizations > if any of them are performance critical.
There isn't really a massive difference between global variables and global access functions.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |