Re: [PATCH 1/2 V3] MM: replace PF_LESS_THROTTLE with PF_LOCAL_THROTTLE

Christoph Hellwig
2020-04-16T06:54:48Z

> + if (current->flags & PF_LOCAL_THROTTLE)
> + /* This task must only be throttled based on the bdi
> + * it is writing to - dirty pages for other bdis might
> + * be pages this task is trying to write out. So it
> + * gets a free pass unless both global and local
> + * thresholds are exceeded. i.e unless
> + * "dirty_exceeded".
> + */

This is not our normal multi-line comment style. The first line should
be just a

/*

Otherwise this looks good.