Re: [PATCH] mm: add the block to the tail of the list in expand()

From: Dave Hansen
Date: Wed Aug 05 2015 - 10:51:29 EST


On 08/05/2015 12:54 AM, Xishi Qiu wrote:
> I add some debug code like this, but it doesn't trigger the dump_stack().
...
> + if (!list_empty(&area->free_list[migratetype])) {
> + printk("expand(), the list is not empty\n");
> + dump_stack();
> + }
> +

That will probably not trigger unless you have allocations that are
falling back and converting other pageblocks from other migratetypes.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/