Skip to contentSkip to conversation

Documentation/kernel-parameters: Remove "Deprecated" from isolcpus=

PATCH Applied Sebastian Andrzej Siewior 5 participants 5 messages Apr 27 – May 12 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Documentation/kernel-parameters: Remove "Deprecated" from isolcpus=

The isolcpus= option has been marked as deprecated in 2017. Back then it was desired for the domain sub option to be configured dynamically at runtime instead using this boot command line which provides a static configuration. In the meantime this option was extended by other sub options which don't have runtime counterpart or it does not make sense to provide one.

The deprecated part always referred to the default `domain' sub option but it was not obvious. Also the reasoning behind the deprecation is sort of dubious: There is nothing wrong with a static configuration if there is no desired to reconfigure. This is useful on systems which have one purpose and the CPU partition configuration is not changed for the entire lifetime.

Remove the "Deprecated" note. Remove the part of the description which suggest to use cpuset.sched_load_balance and instead point to the documentation file which explains how to use cpusets to configure this at runtime.

---
 Documentation/admin-guide/kernel-parameters.txt | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +4 -6
index 4d0f545fb3ec5..367931fe8da56 100644
@@ -2755,7 +2755,6 @@ Kernel parameters
 			Format: <RDP>,<reset>,<pci_scan>,<verbosity>
 
 	isolcpus=	[KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
-			[Deprecated - use cpusets instead]
 			Format: [flag-list,]<cpu-list>
 
 			Specify one or more CPUs to isolate from disturbances
@@ -2780,11 +2779,10 @@ Kernel parameters
 			  Isolate from the general SMP balancing and scheduling
 			  algorithms. Note that performing domain isolation this way
 			  is irreversible: it's not possible to bring back a CPU to
-			  the domains once isolated through isolcpus. It's strongly
-			  advised to use cpusets instead to disable scheduler load
-			  balancing through the "cpuset.sched_load_balance" file.
-			  It offers a much more flexible interface where CPUs can
-			  move in and out of an isolated set anytime.
+			  the domains once isolated through this boot time
+			  configuration. Use cpusets for a dynamic configuration
+			  which can be altered at runtime. For details see
+			  Documentation/admin-guide/cpu-isolation.rst.
 
 			  You can move a process onto or off an "isolated" CPU via
 			  the CPU affinity syscalls or cpuset.
Signature · 1 line
2.53.0
Acked-by on v1 1/1
#1 lore raw
Quoted 19 lines · On Mon, 27 Apr 2026 17:07:39 +0200 Sebastian Andrzej Siewior…

The isolcpus= option has been marked as deprecated in 2017. Back then it was desired for the domain sub option to be configured dynamically at runtime instead using this boot command line which provides a static configuration. In the meantime this option was extended by other sub options which don't have runtime counterpart or it does not make sense to provide one.

The deprecated part always referred to the default `domain' sub option but it was not obvious. Also the reasoning behind the deprecation is sort of dubious: There is nothing wrong with a static configuration if there is no desired to reconfigure. This is useful on systems which have one purpose and the CPU partition configuration is not changed for the entire lifetime.

Remove the "Deprecated" note. Remove the part of the description which suggest to use cpuset.sched_load_balance and instead point to the documentation file which explains how to use cpusets to configure this at runtime.

Quoted 4 lines
---
 Documentation/admin-guide/kernel-parameters.txt | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-- Steve

Acked-by on v1 1/1
#2 lore raw
In reply to Sebastian Andrzej Siewior
Quoted 42 lines · Sebastian Andrzej Siewior

The isolcpus= option has been marked as deprecated in 2017. Back then it was desired for the domain sub option to be configured dynamically at runtime instead using this boot command line which provides a static configuration. In the meantime this option was extended by other sub options which don't have runtime counterpart or it does not make sense to provide one.

The deprecated part always referred to the default `domain' sub option but it was not obvious. Also the reasoning behind the deprecation is sort of dubious: There is nothing wrong with a static configuration if there is no desired to reconfigure. This is useful on systems which have one purpose and the CPU partition configuration is not changed for the entire lifetime.

Remove the "Deprecated" note. Remove the part of the description which suggest to use cpuset.sched_load_balance and instead point to the documentation file which explains how to use cpusets to configure this at runtime.

---
  Documentation/admin-guide/kernel-parameters.txt | 10 ++++------
  1 file changed, 4 insertions(+), 6 deletions(-)
Documentation/admin-guide/kernel-parameters.txt +0 -3
index 4d0f545fb3ec5..367931fe8da56 100644
@@ -2755,7 +2755,6 @@ Kernel parameters
  			Format: <RDP>,<reset>,<pci_scan>,<verbosity>
 
  	isolcpus=	[KNL,SMP,ISOL] Isolate a given set of CPUs from disturbance.
-			[Deprecated - use cpusets instead]
  			Format: [flag-list,]<cpu-list>
 
  			Specify one or more CPUs to isolate from disturbances
@@ -2780,11 +2779,10 @@ Kernel parameters
  			  Isolate from the general SMP balancing and scheduling
  			  algorithms. Note that performing domain isolation this way
  			  is irreversible: it's not possible to bring back a CPU to
-			  the domains once isolated through isolcpus. It's strongly
-			  advised to use cpusets instead to disable scheduler load

Documentation/admin-guide/kernel-parameters.txt Kernel parameters · line 2788

Quoted 10 lines
Documentation/admin-guide/kernel-parameters.txt +4 -3
-			  balancing through the "cpuset.sched_load_balance" file.
-			  It offers a much more flexible interface where CPUs can
-			  move in and out of an isolated set anytime.
+			  the domains once isolated through this boot time
+			  configuration. Use cpusets for a dynamic configuration
+			  which can be altered at runtime. For details see
+			  Documentation/admin-guide/cpu-isolation.rst.
 
  			  You can move a process onto or off an "isolated" CPU via
  			  the CPU affinity syscalls or cpuset.
maintainer Applied
#3 lore raw
In reply to Sebastian Andrzej Siewior
Quoted 19 lines · Sebastian Andrzej Siewior

The isolcpus= option has been marked as deprecated in 2017. Back then it was desired for the domain sub option to be configured dynamically at runtime instead using this boot command line which provides a static configuration. In the meantime this option was extended by other sub options which don't have runtime counterpart or it does not make sense to provide one.

The deprecated part always referred to the default `domain' sub option but it was not obvious. Also the reasoning behind the deprecation is sort of dubious: There is nothing wrong with a static configuration if there is no desired to reconfigure. This is useful on systems which have one purpose and the CPU partition configuration is not changed for the entire lifetime.

Remove the "Deprecated" note. Remove the part of the description which suggest to use cpuset.sched_load_balance and instead point to the documentation file which explains how to use cpusets to configure this at runtime.

Quoted 4 lines
---
 Documentation/admin-guide/kernel-parameters.txt | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Applied, thanks.

jon

Acked-by on v1 1/1
#4 lore raw
In reply to Sebastian Andrzej Siewior
Quoted 14 lines · Sebastian Andrzej Siewior

The isolcpus= option has been marked as deprecated in 2017. Back then it was desired for the domain sub option to be configured dynamically at runtime instead using this boot command line which provides a static configuration. In the meantime this option was extended by other sub options which don't have runtime counterpart or it does not make sense to provide one.

The deprecated part always referred to the default `domain' sub option but it was not obvious. Also the reasoning behind the deprecation is sort of dubious: There is nothing wrong with a static configuration if there is no desired to reconfigure. This is useful on systems which have one purpose and the CPU partition configuration is not changed for the entire lifetime.

Quoted 6 lines

Remove the "Deprecated" note. Remove the part of the description which suggest to use cpuset.sched_load_balance and instead point to the documentation file which explains how to use cpusets to configure this at runtime.

Signature · 2 lines
Frederic Weisbecker
SUSE Labs