ash: 16-bit ->nprocs field is a pain for many CPUs
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Jan 2017 17:44:15 +0000 (18:44 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 11 Jan 2017 17:44:15 +0000 (18:44 +0100)
commit4c179373e07fbc1d8fc8e53c7096fce9ee4b08b6
tree0b00e7ad22d5ae32319571b3af8bbefe65e35ef0
parented15dde60a72dce888df10295a916b199346929d
ash: 16-bit ->nprocs field is a pain for many CPUs

function                                             old     new   delta
getoptscmd                                           527     540     +13
getjob                                               280     286      +6
makejob                                              278     282      +4
forkchild                                            602     600      -2
waitcmd                                              208     205      -3
showjob                                              382     379      -3
getstatus                                             83      80      -3
dowait                                               408     405      -3
freejob                                               93      89      -4
fg_bgcmd                                             290     286      -4
forkshell                                            260     255      -5
killcmd                                              224     218      -6
jobno                                                 17      11      -6
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/10 up/down: 23/-39)           Total: -16 bytes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/ash.c