Re: [PATCH] pagevec: Add remaining space check before adding folio to batch.

From: Matthew Wilcox
Date: Tue Oct 03 2023 - 07:40:11 EST


On Tue, Oct 03, 2023 at 05:18:52PM +0800, Juntong Deng wrote:
> Currently there is no check for remaining space before adding folio to
> batch, which means that folios can still be added via folio_batch_add()
> when the batch is full and cause errors.

No. This is an ntfs3 error. It corrupted the stack. You can't fix
this in pagevec. Ignore all syzbot treports that involve ntfs3.