On 05/10/2016 08:41 AM, Joonsoo Kim wrote:
You applied band-aid for CONFIG_COMPACTION and fixed some reported problem but it is also fragile. Assume almost pageblock's skipbit are set. In this case, compaction easily returns COMPACT_COMPLETE and your logic will stop retry. Compaction isn't designed to report accurate fragmentation state of the system so depending on it's return value for OOM is fragile.
Guess I'll just post a RFC now, even though it's not much tested... -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>