summaryrefslogtreecommitdiff
path: root/mm/memcontrol.c
diff options
context:
space:
mode:
authorHaifeng Xu <haifeng.xu@shopee.com>2023-05-22 09:52:32 +0000
committerAndrew Morton <akpm@linux-foundation.org>2023-06-09 16:25:39 -0700
commit08e0f49e9991b175f2cda7ba32a7e9f1320dcbad (patch)
tree4ff87865d840f156172fbb676db6745e696bb433 /mm/memcontrol.c
parentb0cc5e89caadc21c2d8f7dc4c97947761b358876 (diff)
mm/memcontrol: fix typo in comment
Replace 'then' with 'than'. Link: https://lkml.kernel.org/r/20230522095233.4246-1-haifeng.xu@shopee.com Signed-off-by: Haifeng Xu <haifeng.xu@shopee.com> Cc: Johannes Weiner <hannes@cmpxchg.org> Cc: Michal Hocko <mhocko@kernel.org> Cc: Roman Gushchin <roman.gushchin@linux.dev> Cc: Shakeel Butt <shakeelb@google.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memcontrol.c')
-rw-r--r--mm/memcontrol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index d31fb1e2cb33..7c681492b47b 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -6862,7 +6862,7 @@ static unsigned long effective_protection(unsigned long usage,
protected = min(usage, setting);
/*
* If all cgroups at this level combined claim and use more
- * protection then what the parent affords them, distribute
+ * protection than what the parent affords them, distribute
* shares in proportion to utilization.
*
* We are using actual utilization rather than the statically