mbox series

[v3,0/5] fbdev: Decouple deferred I/O from struct page

Message ID 20220426120359.17437-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series fbdev: Decouple deferred I/O from struct page | expand

Message

Thomas Zimmermann April 26, 2022, 12:03 p.m. UTC
Rework the fbdev deferred-I/O to not interfere with fields of struct
page. All references from deferred-I/O code to fields in struct page
are gone. The rsp state is help in a separate pageref structure.

v3:
	* rename pagelist to pagereflist (Sam)
	* use pageref->offset over page->index (Javier)
v2:
	* split off from a larger patchset [1]

[1] https://lore.kernel.org/dri-devel/20220303205839.28484-1-tzimmermann@suse.de/

Thomas Zimmermann (5):
  fbdev: Put mmap for deferred I/O into drivers
  fbdev: Track deferred-I/O pages in pageref struct
  fbdev: Refactor implementation of page_mkwrite
  fbdev: Rename pagelist to pagereflist for deferred I/O
  fbdev: Use pageref offset for deferred-I/O writeback

 drivers/gpu/drm/drm_fb_helper.c        |  15 +-
 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c     |  10 +-
 drivers/hid/hid-picolcd_fb.c           |   3 +-
 drivers/staging/fbtft/fbtft-core.c     |  21 ++-
 drivers/video/fbdev/broadsheetfb.c     |  27 ++--
 drivers/video/fbdev/core/fb_defio.c    | 212 +++++++++++++++++--------
 drivers/video/fbdev/core/fbmem.c       |  21 +--
 drivers/video/fbdev/hecubafb.c         |   4 +-
 drivers/video/fbdev/hyperv_fb.c        |  10 +-
 drivers/video/fbdev/metronomefb.c      |  23 ++-
 drivers/video/fbdev/sh_mobile_lcdcfb.c |  27 ++--
 drivers/video/fbdev/smscufx.c          |  13 +-
 drivers/video/fbdev/ssd1307fb.c        |   4 +-
 drivers/video/fbdev/udlfb.c            |  18 +--
 drivers/video/fbdev/xen-fbfront.c      |  10 +-
 include/drm/drm_fb_helper.h            |   3 +-
 include/linux/fb.h                     |  17 +-
 17 files changed, 264 insertions(+), 174 deletions(-)


base-commit: 0e7deff6446a4ba2c75f499a0bfa80cd6a15c129

Comments

Thomas Zimmermann April 26, 2022, 12:05 p.m. UTC | #1
(cc'ing Sam)

Am 26.04.22 um 14:03 schrieb Thomas Zimmermann:
> Rework the fbdev deferred-I/O to not interfere with fields of struct
> page. All references from deferred-I/O code to fields in struct page
> are gone. The rsp state is help in a separate pageref structure.
> 
> v3:
> 	* rename pagelist to pagereflist (Sam)
> 	* use pageref->offset over page->index (Javier)
> v2:
> 	* split off from a larger patchset [1]
> 
> [1] https://lore.kernel.org/dri-devel/20220303205839.28484-1-tzimmermann@suse.de/
> 
> Thomas Zimmermann (5):
>    fbdev: Put mmap for deferred I/O into drivers
>    fbdev: Track deferred-I/O pages in pageref struct
>    fbdev: Refactor implementation of page_mkwrite
>    fbdev: Rename pagelist to pagereflist for deferred I/O
>    fbdev: Use pageref offset for deferred-I/O writeback
> 
>   drivers/gpu/drm/drm_fb_helper.c        |  15 +-
>   drivers/gpu/drm/vmwgfx/vmwgfx_fb.c     |  10 +-
>   drivers/hid/hid-picolcd_fb.c           |   3 +-
>   drivers/staging/fbtft/fbtft-core.c     |  21 ++-
>   drivers/video/fbdev/broadsheetfb.c     |  27 ++--
>   drivers/video/fbdev/core/fb_defio.c    | 212 +++++++++++++++++--------
>   drivers/video/fbdev/core/fbmem.c       |  21 +--
>   drivers/video/fbdev/hecubafb.c         |   4 +-
>   drivers/video/fbdev/hyperv_fb.c        |  10 +-
>   drivers/video/fbdev/metronomefb.c      |  23 ++-
>   drivers/video/fbdev/sh_mobile_lcdcfb.c |  27 ++--
>   drivers/video/fbdev/smscufx.c          |  13 +-
>   drivers/video/fbdev/ssd1307fb.c        |   4 +-
>   drivers/video/fbdev/udlfb.c            |  18 +--
>   drivers/video/fbdev/xen-fbfront.c      |  10 +-
>   include/drm/drm_fb_helper.h            |   3 +-
>   include/linux/fb.h                     |  17 +-
>   17 files changed, 264 insertions(+), 174 deletions(-)
> 
> 
> base-commit: 0e7deff6446a4ba2c75f499a0bfa80cd6a15c129