[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180605204622.GK1351649@devbig577.frc2.facebook.com>
Date: Tue, 5 Jun 2018 13:46:22 -0700
From: Tejun Heo <tj@...nel.org>
To: Josef Bacik <josef@...icpanda.com>
Cc: axboe@...nel.dk, kernel-team@...com, linux-block@...r.kernel.org,
akpm@...ux-foundation.org, hannes@...xchg.org,
linux-kernel@...r.kernel.org, linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH 07/13] memcontrol: schedule throttling if we are congested
On Tue, Jun 05, 2018 at 09:29:42AM -0400, Josef Bacik wrote:
> From: Tejun Heo <tj@...nel.org>
>
> Memory allocations can induce swapping via kswapd or direct reclaim. If
> we are having IO done for us by kswapd and don't actually go into direct
> reclaim we may never get scheduled for throttling. So instead check to
> see if our cgroup is congested, and if so schedule the throttling.
> Before we return to user space the throttling stuff will only throttle
> if we actually required it.
>
> Signed-off-by: Tejun Heo <tj@...nel.org>
Acked-by: Tejun Heo <tj@...nel.org>
Thanks.
--
tejun
Powered by blists - more mailing lists