mbox series

[5.4,0/4] Fix a CONFIG_READ_ONLY_THP_FOR_FS bug

Message ID 20210607200845.3860579-1-willy@infradead.org
Headers show
Series Fix a CONFIG_READ_ONLY_THP_FOR_FS bug | expand

Message

Matthew Wilcox June 7, 2021, 8:08 p.m. UTC
This experimental feature has had a few bugs, but it has enough of
a performance effect that customers are actually asking for it to be
enabled.  So we should apply this upstream bugfix that needs a little
massaging to backport.  The first three patches enable the fix in the
fourth patch.  I've run the XArray test-suite after applying these
patches, and it continues to pass.

Matthew Wilcox (Oracle) (4):
  mm: add thp_order
  XArray: add xa_get_order
  XArray: add xas_split
  mm/filemap: fix storing to a THP shadow entry

 Documentation/core-api/xarray.rst |  16 ++-
 include/linux/huge_mm.h           |  19 +++
 include/linux/xarray.h            |  22 ++++
 lib/test_xarray.c                 |  65 ++++++++++
 lib/xarray.c                      | 208 ++++++++++++++++++++++++++++--
 mm/filemap.c                      |  37 ++++--
 6 files changed, 342 insertions(+), 25 deletions(-)

Comments

Greg KH June 8, 2021, 2:58 p.m. UTC | #1
On Mon, Jun 07, 2021 at 09:08:41PM +0100, Matthew Wilcox (Oracle) wrote:
> This experimental feature has had a few bugs, but it has enough of
> a performance effect that customers are actually asking for it to be
> enabled.  So we should apply this upstream bugfix that needs a little
> massaging to backport.  The first three patches enable the fix in the
> fourth patch.  I've run the XArray test-suite after applying these
> patches, and it continues to pass.
> 
> Matthew Wilcox (Oracle) (4):
>   mm: add thp_order
>   XArray: add xa_get_order
>   XArray: add xas_split
>   mm/filemap: fix storing to a THP shadow entry
> 
>  Documentation/core-api/xarray.rst |  16 ++-
>  include/linux/huge_mm.h           |  19 +++
>  include/linux/xarray.h            |  22 ++++
>  lib/test_xarray.c                 |  65 ++++++++++
>  lib/xarray.c                      | 208 ++++++++++++++++++++++++++++--
>  mm/filemap.c                      |  37 ++++--
>  6 files changed, 342 insertions(+), 25 deletions(-)
> 
> -- 
> 2.30.2
> 

Now queued up, thanks.

greg k-h