Re: [PATCH 3/5] mm, compaction: encapsulate resetting cached scanner positions

From: Vlastimil Babka
Date: Thu Jan 22 2015 - 10:22:33 EST


On 01/20/2015 02:30 PM, Zhang Yanfei wrote:
å 2015/1/19 18:05, Vlastimil Babka åé:
Reseting the cached compaction scanner positions is now done implicitly in
__reset_isolation_suitable() and compact_finished(). Encapsulate the
functionality in a new function reset_cached_positions() and call it
explicitly where needed.

Signed-off-by: Vlastimil Babka <vbabka@xxxxxxx>

Reviewed-by: Zhang Yanfei <zhangyanfei@xxxxxxxxxxxxxx>

Thanks.

Should the new function be inline?

I'll try comparing with bloat-o-meter before next submission, if there's any difference.

Thanks.


--
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/