Commit 5492bf5
arm64: kernel: Bound the total(present+disabled) cpus with nr_cpu_ids
Bound the total number of identified cpus(including disabled cpus) by
maximum allowed limit by the kernel. Max value is either specified as
part of the kernel parameters 'nr_cpus' or specified during compile
time using CONFIG_NR_CPUS.
Signed-off-by: Salil Mehta <salil.mehta@huawei.com>
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>1 parent 74df87d commit 5492bf5
1 file changed
Lines changed: 14 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
533 | 534 | | |
534 | 535 | | |
535 | 536 | | |
| |||
553 | 554 | | |
554 | 555 | | |
555 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
556 | 562 | | |
557 | 563 | | |
558 | 564 | | |
| |||
586 | 592 | | |
587 | 593 | | |
588 | 594 | | |
589 | | - | |
590 | | - | |
| 595 | + | |
| 596 | + | |
591 | 597 | | |
592 | 598 | | |
593 | 599 | | |
| |||
706 | 712 | | |
707 | 713 | | |
708 | 714 | | |
709 | | - | |
| 715 | + | |
| 716 | + | |
710 | 717 | | |
| 718 | + | |
711 | 719 | | |
712 | 720 | | |
713 | 721 | | |
| |||
728 | 736 | | |
729 | 737 | | |
730 | 738 | | |
| 739 | + | |
731 | 740 | | |
732 | 741 | | |
733 | 742 | | |
734 | 743 | | |
735 | 744 | | |
736 | 745 | | |
737 | 746 | | |
738 | | - | |
| 747 | + | |
739 | 748 | | |
740 | | - | |
| 749 | + | |
741 | 750 | | |
742 | 751 | | |
743 | 752 | | |
| |||
0 commit comments