[PATCH v7 1/3] mm: make persistent huge zero folio read-only

Dave Hansen dave.hansen at intel.com
Wed Sep 2 13:59:15 PDT 2026


On 9/1/26 08:18, Xueyuan Chen wrote:
> +static inline int set_direct_map_ro(struct page *page, unsigned int nr)
> +{
> +	return 0;
> +}

I still really think the stub here needs to return an error *or* the
thing needs to just be void and tell folks that they can't know whether
it worked or not.



More information about the linux-arm-kernel mailing list