Re: [PATCH 1/2] fbdev/defio: Early-out if page is already enlisted

2022-02-11 Thread Thomas Zimmermann
Hi Sam Am 10.02.22 um 22:00 schrieb Sam Ravnborg: Hi Thomas, On Thu, Feb 10, 2022 at 03:11:11PM +0100, Thomas Zimmermann wrote: Return early if a page is already in the list of dirty pages for deferred I/O. This can be detected if the page's list head is not empty. Keep the list head

Re: [PATCH 1/2] fbdev/defio: Early-out if page is already enlisted

2022-02-10 Thread Sam Ravnborg
Hi Thomas, On Thu, Feb 10, 2022 at 03:11:11PM +0100, Thomas Zimmermann wrote: > Return early if a page is already in the list of dirty pages for > deferred I/O. This can be detected if the page's list head is not > empty. Keep the list head initialized while the page is not enlisted > to make

[PATCH 1/2] fbdev/defio: Early-out if page is already enlisted

2022-02-10 Thread Thomas Zimmermann
Return early if a page is already in the list of dirty pages for deferred I/O. This can be detected if the page's list head is not empty. Keep the list head initialized while the page is not enlisted to make this work reliably. Signed-off-by: Thomas Zimmermann ---