[PATCH v1 00/11] Zero page->private when freeing pages
Christoph Hellwig
hch at infradead.org
Tue Feb 24 01:03:26 AEDT 2026
On Mon, Feb 23, 2026 at 09:00:57AM -0500, Zi Yan wrote:
> > awkward interface. Don't do that.
>
> Page allocator hands the user a zero ->private. I think it is reasonable
> to require the user to return a zero ->private. Restoring things back
> to their original states is a common standard, isn't it? And most of
> users do that.
No other relevant interface requires private data pointers, as that would
be silly and cause tons of bugs.
More information about the Linux-erofs
mailing list