<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/mm/folio-compat.c, branch linux-5.19.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.19.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-5.19.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2022-05-08T18:28:19Z</updated>
<entry>
<title>fs: Remove aop flags parameter from grab_cache_page_write_begin()</title>
<updated>2022-05-08T18:28:19Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2022-02-22T16:25:12Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b7446e7cf15f0926866c8e5de90ab278998bf8c8'/>
<id>urn:sha1:b7446e7cf15f0926866c8e5de90ab278998bf8c8</id>
<content type='text'>
There are no more aop flags left, so remove the parameter.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>fs: Remove AOP_FLAG_NOFS</title>
<updated>2022-05-08T18:28:19Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2022-02-22T15:40:11Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=236d93c4bf2d6da83241cc8e4625e89d9604cb43'/>
<id>urn:sha1:236d93c4bf2d6da83241cc8e4625e89d9604cb43</id>
<content type='text'>
With all users of this flag gone, we can stop testing whether it's set.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>mm/rmap: Convert rmap_walk() to take a folio</title>
<updated>2022-03-21T17:01:35Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2022-01-29T21:06:53Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2f031c6f042cb8a9b221a8b6b80e69de5170f830'/>
<id>urn:sha1:2f031c6f042cb8a9b221a8b6b80e69de5170f830</id>
<content type='text'>
This ripples all the way through to every calling and called function
from rmap.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>mm/rmap: Turn page_lock_anon_vma_read() into folio_lock_anon_vma_read()</title>
<updated>2022-03-21T17:01:35Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2022-02-02T04:33:08Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=9595d76942b8714627d670a7e7ae543812c731ae'/>
<id>urn:sha1:9595d76942b8714627d670a7e7ae543812c731ae</id>
<content type='text'>
Add back page_lock_anon_vma_read() as a wrapper.  This saves a few calls
to compound_head().  If any callers were passing a tail page before,
this would have failed to lock the anon VMA as page-&gt;mapping is not
valid for tail pages.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
</content>
</entry>
<entry>
<title>mm: Turn putback_lru_page() into folio_putback_lru()</title>
<updated>2022-03-21T16:59:01Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2022-01-21T13:41:46Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=ca6d60f3f18b78d37b7a93262108ade0727d1441'/>
<id>urn:sha1:ca6d60f3f18b78d37b7a93262108ade0727d1441</id>
<content type='text'>
Add a putback_lru_page() wrapper.  Removes a couple of compound_head()
calls.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
</content>
</entry>
<entry>
<title>mm: Turn isolate_lru_page() into folio_isolate_lru()</title>
<updated>2022-03-21T16:56:36Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2021-12-24T18:26:22Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=d1d8a3b4d06d8c9188f2b9b89ef053db0bf899de'/>
<id>urn:sha1:d1d8a3b4d06d8c9188f2b9b89ef053db0bf899de</id>
<content type='text'>
Add isolate_lru_page() as a wrapper around isolate_lru_folio().
TestClearPageLRU() would have always failed on a tail page, so
returning -EBUSY is the same behaviour.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: John Hubbard &lt;jhubbard@nvidia.com&gt;
Reviewed-by: Jason Gunthorpe &lt;jgg@nvidia.com&gt;
Reviewed-by: William Kucharski &lt;william.kucharski@oracle.com&gt;
</content>
</entry>
<entry>
<title>filemap: Add filemap_release_folio()</title>
<updated>2022-01-04T18:15:34Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2021-07-28T19:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=82c50f8b443359ec99348cd9b1289f55cd47779d'/>
<id>urn:sha1:82c50f8b443359ec99348cd9b1289f55cd47779d</id>
<content type='text'>
Reimplement try_to_release_page() as a wrapper around
filemap_release_folio().

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: William Kucharski &lt;william.kucharski@oracle.com&gt;
</content>
</entry>
<entry>
<title>filemap: Add filemap_remove_folio and __filemap_remove_folio</title>
<updated>2022-01-04T18:15:33Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2021-05-09T13:33:42Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=452e9e6992fe058a650c81d01a9982e3faf10278'/>
<id>urn:sha1:452e9e6992fe058a650c81d01a9982e3faf10278</id>
<content type='text'>
Reimplement __delete_from_page_cache() as a wrapper around
__filemap_remove_folio() and delete_from_page_cache() as a wrapper
around filemap_remove_folio().  Remove the EXPORT_SYMBOL as
delete_from_page_cache() was not used by any in-tree modules.
Convert page_cache_free_page() into filemap_free_folio().

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: Christoph Hellwig &lt;hch@lst.de&gt;
Reviewed-by: William Kucharski &lt;william.kucharski@oracle.com&gt;
</content>
</entry>
<entry>
<title>mm/filemap: Add FGP_STABLE</title>
<updated>2021-10-18T11:49:41Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2020-12-24T17:55:56Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b27652d935f41793c5e229a1e8b3a8bb3afe3cc1'/>
<id>urn:sha1:b27652d935f41793c5e229a1e8b3a8bb3afe3cc1</id>
<content type='text'>
Allow filemap_get_folio() to wait for writeback to complete (if the
filesystem wants that behaviour).  This is the folio equivalent of
grab_cache_page_write_begin(), which is moved into the folio-compat
file as a reminder to migrate all the code using it.  This paves the
way for getting rid of AOP_FLAG_NOFS once grab_cache_page_write_begin()
is removed.

Kernel grows by 11 bytes.  filemap_get_folio() grows by 33 bytes but
grab_cache_page_write_begin() shrinks by 22 bytes to make up for it.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Vlastimil Babka &lt;vbabka@suse.cz&gt;
</content>
</entry>
<entry>
<title>mm/filemap: Add filemap_get_folio</title>
<updated>2021-10-18T11:49:40Z</updated>
<author>
<name>Matthew Wilcox (Oracle)</name>
</author>
<published>2021-03-08T16:45:35Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3f0c6a07fee6a1c2618a2e12ffb8e9aa24384fde'/>
<id>urn:sha1:3f0c6a07fee6a1c2618a2e12ffb8e9aa24384fde</id>
<content type='text'>
filemap_get_folio() is a replacement for find_get_page().
Turn pagecache_get_page() into a wrapper around __filemap_get_folio().
Remove find_lock_head() as this use case is now covered by
filemap_get_folio().

Reduces overall kernel size by 209 bytes.  __filemap_get_folio() is
316 bytes shorter than pagecache_get_page() was, but the new
pagecache_get_page() wrapper is 99 bytes.

Signed-off-by: Matthew Wilcox (Oracle) &lt;willy@infradead.org&gt;
Reviewed-by: David Howells &lt;dhowells@redhat.com&gt;
Acked-by: Vlastimil Babka &lt;vbabka@suse.cz&gt;
</content>
</entry>
</feed>
