* [PATCH] mm, memcg: Fix some typos in memcontrol.c
@ 2020-04-11 6:42 Ethon Paul
0 siblings, 0 replies; only message in thread
From: Ethon Paul @ 2020-04-11 6:42 UTC (permalink / raw)
To: hannes, mhocko, davydov.dev, akpm; +Cc: linux-mm, linux-kernel, Ethon Paul
There are some typos in comment, fix them.
s/responsiblity/responsibility
s/oflline/offline
Signed-off-by: Ethon Paul <ethp@qq.com>
---
mm/memcontrol.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/mm/memcontrol.c b/mm/memcontrol.c
index 05b4ec2c6499..51fcb33029be 100644
--- a/mm/memcontrol.c
+++ b/mm/memcontrol.c
@@ -3198,7 +3198,7 @@ unsigned long mem_cgroup_soft_limit_reclaim(pg_data_t *pgdat, int order,
* Test whether @memcg has children, dead or alive. Note that this
* function doesn't care whether @memcg has use_hierarchy enabled and
* returns %true if there are child csses according to the cgroup
- * hierarchy. Testing use_hierarchy is the caller's responsiblity.
+ * hierarchy. Testing use_hierarchy is the caller's responsibility.
*/
static inline bool memcg_has_children(struct mem_cgroup *memcg)
{
@@ -4847,7 +4847,7 @@ static struct cftype mem_cgroup_legacy_files[] = {
* limited to 16 bit (MEM_CGROUP_ID_MAX), limiting the total number of
* memory-controlled cgroups to 64k.
*
- * However, there usually are many references to the oflline CSS after
+ * However, there usually are many references to the offline CSS after
* the cgroup has been destroyed, such as page cache or reclaimable
* slab objects, that don't need to hang on to the ID. We want to keep
* those dead CSS from occupying IDs, or we might quickly exhaust the
--
2.24.1 (Apple Git-126)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-11 6:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-11 6:42 [PATCH] mm, memcg: Fix some typos in memcontrol.c Ethon Paul
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox