Commit c9258d3
committed
powerpc/smp: Dynamically build Powerpc topology
JIRA: https://issues.redhat.com/browse/RHEL-118964
Conflicts: Minor context diff in one hunk.
commit c469757
Author: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Date: Thu Dec 14 23:37:15 2023 +0530
powerpc/smp: Dynamically build Powerpc topology
Currently there are four Powerpc specific sched topologies. These are
all statically defined. However not all these topologies are used by
all Powerpc systems.
To avoid unnecessary degenerations by the scheduler, masks and flags
are compared. However if the sched topologies are build dynamically then
the code is simpler and there are greater chances of avoiding
degenerations.
Note:
Even X86 builds its sched topologies dynamically and proposed changes
are very similar to the way X86 is building its topologies.
Signed-off-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20231214180720.310852-6-srikar@linux.vnet.ibm.com
Signed-off-by: Phil Auld <pauld@redhat.com>1 parent 24f80a4 commit c9258d3
1 file changed
+28
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 98 | | |
108 | 99 | | |
109 | 100 | | |
| |||
1080 | 1071 | | |
1081 | 1072 | | |
1082 | 1073 | | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | 1074 | | |
1094 | 1075 | | |
1095 | 1076 | | |
| |||
1720 | 1701 | | |
1721 | 1702 | | |
1722 | 1703 | | |
1723 | | - | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
1724 | 1707 | | |
1725 | | - | |
| 1708 | + | |
1726 | 1709 | | |
1727 | 1710 | | |
1728 | 1711 | | |
1729 | 1712 | | |
1730 | 1713 | | |
1731 | 1714 | | |
1732 | 1715 | | |
1733 | | - | |
| 1716 | + | |
| 1717 | + | |
| 1718 | + | |
| 1719 | + | |
| 1720 | + | |
| 1721 | + | |
| 1722 | + | |
1734 | 1723 | | |
1735 | 1724 | | |
| 1725 | + | |
| 1726 | + | |
| 1727 | + | |
| 1728 | + | |
| 1729 | + | |
| 1730 | + | |
| 1731 | + | |
| 1732 | + | |
| 1733 | + | |
| 1734 | + | |
| 1735 | + | |
| 1736 | + | |
| 1737 | + | |
1736 | 1738 | | |
1737 | | - | |
1738 | | - | |
1739 | | - | |
1740 | | - | |
1741 | | - | |
1742 | | - | |
1743 | | - | |
1744 | | - | |
1745 | | - | |
1746 | | - | |
1747 | | - | |
1748 | | - | |
1749 | | - | |
1750 | | - | |
1751 | | - | |
1752 | | - | |
1753 | | - | |
1754 | | - | |
1755 | | - | |
| 1739 | + | |
| 1740 | + | |
1756 | 1741 | | |
1757 | | - | |
1758 | | - | |
1759 | | - | |
1760 | | - | |
1761 | | - | |
1762 | | - | |
| 1742 | + | |
1763 | 1743 | | |
1764 | 1744 | | |
1765 | 1745 | | |
| |||
1774 | 1754 | | |
1775 | 1755 | | |
1776 | 1756 | | |
1777 | | - | |
1778 | | - | |
1779 | | - | |
| 1757 | + | |
1780 | 1758 | | |
1781 | 1759 | | |
1782 | 1760 | | |
| |||
0 commit comments