Re: [RFC PATCH v2 3/3] fb_defio: do not use deprecated page->mapping, index fields

2025-02-01 Thread Lorenzo Stoakes
On Mon, Jan 13, 2025 at 11:15:48PM +, Lorenzo Stoakes wrote: > With the introduction of mapping_wrprotect_page() there is no need to use > folio_mkclean() in order to write-protect mappings of frame buffer pages, > and therefore no need to inappropriately set kernel-allocated page->index, > map

Re: [RFC PATCH v2 3/3] fb_defio: do not use deprecated page->mapping, index fields

2025-02-01 Thread Lorenzo Stoakes
Andrew - Ugh sorry - please disregard the below, I sent it to the wrong thread. It's Saturday and I'm tired and brain not working :>) Let me resend this against the correct non-RFC thread! On Sat, Feb 01, 2025 at 05:01:15PM +, Lorenzo Stoakes wrote: > On Mon, Jan 13, 2025 at 11:15:48PM +,

[RFC PATCH v2 3/3] fb_defio: do not use deprecated page->mapping, index fields

2025-01-13 Thread Lorenzo Stoakes
With the introduction of mapping_wrprotect_page() there is no need to use folio_mkclean() in order to write-protect mappings of frame buffer pages, and therefore no need to inappropriately set kernel-allocated page->index, mapping fields to permit this operation. Instead, store the pointer to the