Thomas Zimmermann <tzimmermann@xxxxxxx> writes: > Set up struct fb_deferred_io_pageref in th new helper function the > fb_deferred_io_pageref_lookup(), which runs when the pageref is first > taken. Remove the setup code from the rest of the code. > > At first, the code allocates the memory of all pageref structs. The > setup of the various fields happens when the pageref is required. > > Signed-off-by: Thomas Zimmermann <tzimmermann@xxxxxxx> > --- Reviewed-by: Javier Martinez Canillas <javierm@xxxxxxxxxx> -- Best regards, Javier Martinez Canillas Core Platforms Red Hat