summaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2021-08-12 21:54:58 +0100
committerDavid Howells <dhowells@redhat.com>2021-11-10 21:16:44 +0000
commita19672f6b9718df247a9087a266150dbe833022e (patch)
tree140dbfa75c026ddfa4e24d3fe897d34649dc31e7 /mm
parentf89ce84bc33330607a782e47a8b19406ed109b15 (diff)
downloadlinux-stable-a19672f6b9718df247a9087a266150dbe833022e.tar.gz
linux-stable-a19672f6b9718df247a9087a266150dbe833022e.tar.bz2
linux-stable-a19672f6b9718df247a9087a266150dbe833022e.zip
folio: Add a function to change the private data attached to a folio
Add a function, folio_change_private(), that will change the private data attached to a folio, without the need to twiddle the private bit or the refcount. It assumes that folio_add_private() has already been called on the page. Signed-off-by: David Howells <dhowells@redhat.com> Reviewed-by: Matthew Wilcox (Oracle) <willy@infradead.org> Tested-by: Jeff Layton <jlayton@kernel.org> Tested-by: Dominique Martinet <asmadeus@codewreck.org> Tested-by: kafs-testing@auristor.com Link: https://lore.kernel.org/r/162981149911.1901565.17776700811659843340.stgit@warthog.procyon.org.uk/ Link: https://lore.kernel.org/r/163005743485.2472992.5100702469503007023.stgit@warthog.procyon.org.uk/ # v2 Link: https://lore.kernel.org/r/163584180781.4023316.5037526301198034310.stgit@warthog.procyon.org.uk/ # v3 Link: https://lore.kernel.org/r/163649324326.309189.17817587229450840783.stgit@warthog.procyon.org.uk/ # v4 Link: https://lore.kernel.org/r/163657848531.834781.14269656212269187893.stgit@warthog.procyon.org.uk/ # v5
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions