Re: [RFC PATCH v2 1/5] mm: Refactor folio_clear_dirty_for_io()
From: Christoph Hellwig
Date: Wed Apr 15 2026 - 02:15:19 EST
On Thu, Apr 09, 2026 at 12:15:42AM +0530, Ojaswin Mujoo wrote:
> @@ -2847,8 +2847,11 @@ EXPORT_SYMBOL(__folio_cancel_dirty);
> *
> * This incoherency between the folio's dirty flag and xarray tag is
> * unfortunate, but it only exists while the folio is locked.
> + *
> + * For some cases we might not want to do mkclean, eg, if we've already taken
> + * care of it, hence pass the should_mkclean flag to indicate if its needed.
> */
The kerneldoc should move down to the exported version.