Re: [PATCH 00/12] Change readahead API

2020-02-12 Thread Andrew Morton
On Fri, 24 Jan 2020 17:35:41 -0800 Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > This series adds a readahead address_space operation to eventually > replace the readpages operation. The key difference is that > pages are added to the page cache as they are allocated (and > then

Re: [PATCH v11 05/25] mm: Add new readahead_control API

2020-04-14 Thread Andrew Morton
On Tue, 14 Apr 2020 08:02:13 -0700 Matthew Wilcox wrote: > From: "Matthew Wilcox (Oracle)" > > Filesystems which implement the upcoming ->readahead method will get > their pages by calling readahead_page() or readahead_page_batch(). > These functions support large pages, even though none of the

Re: [PATCH v11 05/25] mm: Add new readahead_control API

2020-04-14 Thread Andrew Morton
On Tue, 14 Apr 2020 19:18:08 -0700 Matthew Wilcox wrote: > On Tue, Apr 14, 2020 at 06:17:05PM -0700, Andrew Morton wrote: > > On Tue, 14 Apr 2020 08:02:13 -0700 Matthew Wilcox > > wrote: > > > From: "Matthew Wilcox (Oracle)" > > > > > >

Re: [PATCH v11 19/25] erofs: Convert compressed files from readpages to readahead

2020-04-20 Thread Andrew Morton
On Tue, 14 Apr 2020 08:02:27 -0700 Matthew Wilcox wrote: > > Use the new readahead operation in erofs. > Well this is exciting. fs/erofs/data.c: In function erofs_raw_access_readahead: fs/erofs/data.c:149:18: warning: last_block may be used uninitialized in this function [-Wmaybe-uninitializ

Re: [PATCH 1/3] mm: Add folio_zero_tail() and use it in ext4

2023-11-08 Thread Andrew Morton
On Tue, 7 Nov 2023 21:26:40 + "Matthew Wilcox (Oracle)" wrote: > Instead of unmapping the folio after copying the data to it, then mapping > it again to zero the tail, provide folio_zero_tail() to zero the tail > of an already-mapped folio. > > ... > > --- a/include/linux/highmem.h > +++ b

Re: [PATCH 1/3] mm: Add folio_zero_tail() and use it in ext4

2023-11-09 Thread Andrew Morton
On Thu, 9 Nov 2023 01:12:15 +0100 Andreas Grünbacher wrote: > Andrew, > > Andrew Morton schrieb am Do., 9. Nov. 2023, 00:06: > > > + > > > + if (folio_test_highmem(folio)) { > > > + size_t max = PAGE_SIZE - offset_in_page(offset); > >

Re: [PATCH 00/10] convert the majority of file systems to mmap_prepare

2025-06-16 Thread Andrew Morton
On Mon, 16 Jun 2025 20:33:19 +0100 Lorenzo Stoakes wrote: > I am basing this on the mm-new branch in Andrew's tree, so let me know if I > should rebase anything here. Given the mm bits touched I did think perhaps > we should take it through the mm tree, however it may be more sensible to > take