diff options
Diffstat (limited to 'mm/compaction.c')
-rw-r--r-- | mm/compaction.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mm/compaction.c b/mm/compaction.c index b4689f81..f550ecf 100644 --- a/mm/compaction.c +++ b/mm/compaction.c @@ -656,6 +656,10 @@ unsigned long try_to_compact_pages(struct zonelist *zonelist, if (!order || !may_enter_fs || !may_perform_io) return rc; +#ifdef CONFIG_MACH_Q1_BD + /* Temporary log to get information whether the compaction works well */ + printk(KERN_NOTICE "%s, order=%d, sync=%d\n", __func__, order, sync); +#endif count_vm_event(COMPACTSTALL); /* Compact each zone in the list */ |