On 05/16/2016 09:17 AM, Vlastimil Babka wrote:
>Wouldn't it be better to pull the prio check into compaction_deferred >directly? There are more callers and I am not really sure all of them >would behave consistently.I'll check, thanks.
Hm so the other callers of compaction_deferred() are in the context where there's no direct compaction priority set. They would have to pass something like DEF_COMPACT_PRIORITY. That starts getting subtle so I'd rather not go that way.