aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mm/memory.c
diff options
context:
space:
mode:
authorMatthew Wilcox (Oracle) <willy@infradead.org>2025-02-26 15:36:12 +0000
committerAndrew Morton <akpm@linux-foundation.org>2025-03-17 00:05:29 -0700
commit173a3dc051bda746e284ff3933fcf6771d7247b8 (patch)
tree1a430442e485c280b1646cc0d7b803a75ef940e3 /mm/memory.c
parentsamples/damon: a typo in the kconfig - sameple (diff)
downloadwireguard-linux-173a3dc051bda746e284ff3933fcf6771d7247b8.tar.xz
wireguard-linux-173a3dc051bda746e284ff3933fcf6771d7247b8.zip
mm: assert the folio is locked in folio_start_writeback()
The folio must be locked when we start writeback in order to prevent writeback from being started twice on the same folio. I don't expect this to catch any problems, but it should be good documentation. Link: https://lkml.kernel.org/r/20250226153614.3774896-1-willy@infradead.org Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org> Reviewed-by: "Darrick J. Wong" <djwong@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions