Re: [RFC PATCH 3/7] mm, fs: handle memory.high overage in buffered reads and writes
From: Christian Brauner
Date: Wed Dec 02 2026 - 04:46:47 EST
On Sat, Nov 21, 2026 at 06:47:33PM -0800, Shakeel Butt wrote:
> Writers hold the inode's i_rwsem there, and dirty throttling already
> sleeps under it.
> + /*
> + * A large write can charge a lot before the task returns to
> + * userspace. Handle memory.high overage here too.
> + */
> + if (!(iter->flags & IOMAP_NOWAIT))
> + mem_cgroup_over_high_throttle(high_gfp);
Seems fine to me. Christoph should take a look though.