[PATCH v6 08/13] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-08-04 Thread Vlastimil Babka
Compaction scanners regularly check for lock contention and need_resched() through the compact_checklock_irqsave() function. However, if there is no contention, the lock can be held and IRQ disabled for potentially long time. This has been addressed by commit b2eef8c0d091 ("mm: compaction:

[PATCH v6 08/13] mm, compaction: periodically drop lock and restore IRQs in scanners

2014-08-04 Thread Vlastimil Babka
Compaction scanners regularly check for lock contention and need_resched() through the compact_checklock_irqsave() function. However, if there is no contention, the lock can be held and IRQ disabled for potentially long time. This has been addressed by commit b2eef8c0d091 (mm: compaction: