Messages in this thread | | | From | David Laight <> | Subject | RE: [PATCH v2 1/5] smp: don't declare nr_cpu_ids if NR_CPUS == 1 | Date | Wed, 7 Sep 2022 08:02:42 +0000 |
| |
From: Peter Zijlstra > Sent: 06 September 2022 15:37 ... > It was suggested the other day we remove a whole bunch of SMP=n code and > unconditionally use SMP code, even if its pointless on UP just to make > the source simpler.
All the world isn't x86.
There are some small embedded systems which are definitely UP and where you don't want any of the SMP 'bloat'. Architectures like NiosII will only ever be SMP.
There certainly have recently been (and probably still are) small ppc cpu for embedded systems that are UP.
David
- Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)
| |