[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200416065418.GA1092@infradead.org>
Date: Wed, 15 Apr 2020 23:54:18 -0700
From: Christoph Hellwig <hch@...radead.org>
To: NeilBrown <neilb@...e.de>
Cc: Trond Myklebust <trondmy@...merspace.com>,
"Anna.Schumaker@...app.com" <Anna.Schumaker@...app.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Jan Kara <jack@...e.cz>, Michal Hocko <mhocko@...nel.org>,
linux-mm@...ck.org, linux-nfs@...r.kernel.org,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 1/2 V3] MM: replace PF_LESS_THROTTLE with
PF_LOCAL_THROTTLE
> + 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.
Powered by blists - more mailing lists