Messages in this thread | | | Date | Thu, 22 Jan 2015 16:22:20 +0100 | From | Vlastimil Babka <> | Subject | Re: [PATCH 3/5] mm, compaction: encapsulate resetting cached scanner positions |
| |
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@suse.cz> > > Reviewed-by: Zhang Yanfei <zhangyanfei@cn.fujitsu.com>
Thanks.
> Should the new function be inline?
I'll try comparing with bloat-o-meter before next submission, if there's any difference.
> Thanks. >
| |