Merge pull request #915 from LohithCV/lavd_doc_err

scx_lavd: docs: fix typos
This commit is contained in:
Changwoo Min 2024-11-08 20:41:40 +09:00 committed by GitHub
commit 5280206fed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@ PKGBUILD
target
*.swp
.cache/
.vscode/

View File

@ -270,7 +270,7 @@ static u64 calc_weight_factor(struct task_struct *p, struct task_ctx *taskc,
/*
* Prioritize a wake-up task since this is a clear sign of immediate
* consumer. If it is a synchronous wakeup, doule the prioritization.
* consumer. If it is a synchronous wakeup, double the prioritization.
*/
taskc->wakeup_ft += !!(enq_flags & SCX_ENQ_WAKEUP);
weight_boost += taskc->wakeup_ft * LAVD_LC_WEIGHT_BOOST;
@ -515,7 +515,7 @@ static void update_stat_for_running(struct task_struct *p,
}
/*
* Update per-CPU latency criticality information for ever-scheduled
* Update per-CPU latency criticality information for every-scheduled
* tasks.
*/
if (cpuc->max_lat_cri < taskc->lat_cri)
@ -1074,7 +1074,7 @@ void BPF_STRUCT_OPS(lavd_enqueue, struct task_struct *p, u64 enq_flags)
return;
/*
* Calculate when a tack can be scheduled.
* Calculate when a task can be scheduled.
*/
calc_when_to_run(p, taskc, enq_flags);
dsq_id = find_proper_dsq(taskc, cpuc_task);

View File

@ -19,7 +19,7 @@ use serde::Serialize;
#[derive(Clone, Debug, Default, Serialize, Deserialize, Stats)]
#[stat(top)]
pub struct SysStats {
#[stat(desc = "Sequence ID of this messge")]
#[stat(desc = "Sequence ID of this message")]
pub mseq: u64,
#[stat(desc = "Average runtime per schedule")]