Merge pull request #815 from JakeHillion/pr815

layered: make disable_topology arg require equals
This commit is contained in:
Jake Hillion 2024-10-17 17:05:51 +00:00 committed by GitHub
commit abc202c972
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -417,7 +417,7 @@ struct Opts {
/// Disable topology awareness. When enabled, the "nodes" and "llcs" settings on
/// a layer are ignored. Defaults to false on topologies with multiple NUMA nodes
/// or LLCs, and true otherwise.
#[arg(short = 't', long, num_args = 0..=1, default_missing_value = "true")]
#[arg(short = 't', long, num_args = 0..=1, default_missing_value = "true", require_equals = true)]
disable_topology: Option<bool>,
/// Enable cross NUMA preemption.