]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mm-compaction-properly-signal-and-act-upon-lock-and-need_sched-contention-fix
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 22 May 2014 00:43:25 +0000 (10:43 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 22 May 2014 00:43:25 +0000 (10:43 +1000)
fix typo in comment

Cc: Vlastimil Babka <vbabka@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/compaction.c

index 22d535d9789e4d9f6b63707cfb055232f1c55939..a525cd47a9d5f6697a7ffd5020e5ac7881a831d5 100644 (file)
@@ -224,9 +224,9 @@ static bool compact_checklock_irqsave(spinlock_t *lock, unsigned long *flags,
 
 /*
  * Aside from avoiding lock contention, compaction also periodically checks
- * need_resched() and either schedules in sync compaction, or aborts async
- * compaction. This is similar to compact_checklock_irqsave() does, but used
- * where no lock is concerned.
+ * need_resched() and either schedules in sync compaction or aborts async
+ * compaction. This is similar to what compact_checklock_irqsave() does, but
+ * is used where no lock is concerned.
  *
  * Returns false when no scheduling was needed, or sync compaction scheduled.
  * Returns true when async compaction should abort.