summaryrefslogtreecommitdiff
path: root/mm/swap.c
diff options
context:
space:
mode:
authorQuanfa Fu <fuqf0919@gmail.com>2022-01-15 01:09:25 +0300
committerLinus Torvalds <torvalds@linux-foundation.org>2022-01-15 17:30:31 +0300
commit0b8f0d870020dbd7037bfacbb73a9b3213470f90 (patch)
treed74c462f6a8f592e0d9d79db405777f5ca591b67 /mm/swap.c
parent7f0d267243aa9dd32944bd7d3b34afff60545edb (diff)
downloadlinux-0b8f0d870020dbd7037bfacbb73a9b3213470f90.tar.xz
mm: fix some comment errors
Link: https://lkml.kernel.org/r/20211101040208.460810-1-fuqf0919@gmail.com Signed-off-by: Quanfa Fu <fuqf0919@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/swap.c')
-rw-r--r--mm/swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/swap.c b/mm/swap.c
index e8c9dc6d0377..b461814ce0cb 100644
--- a/mm/swap.c
+++ b/mm/swap.c
@@ -882,7 +882,7 @@ void lru_cache_disable(void)
* all online CPUs so any calls of lru_cache_disabled wrapped by
* local_lock or preemption disabled would be ordered by that.
* The atomic operation doesn't need to have stronger ordering
- * requirements because that is enforeced by the scheduling
+ * requirements because that is enforced by the scheduling
* guarantees.
*/
__lru_add_drain_all(true);