On Wed, Feb 19, 2025 at 04:36:04AM +0000, Matthew Wilcox wrote: > On Wed, Feb 19, 2025 at 02:50:13PM +1100, Dave Chinner wrote: > > Hi folks, > > > > I hit this running check-parallel a moment ago: FWIW, I just hit the bug again... > > [80180.074658] BUG: Bad page cache in process umount pfn:7655f4 > > [80180.077259] page: refcount:9 mapcount:1 mapping:00000000ecd1b54a index:0x0 pfn:0x7655f4 > > [80180.080573] head: order:2 mapcount:4 entire_mapcount:0 nr_pages_mapped:4 pincount:0 > > [80180.083615] memcg:ffff888104f36000 > > [80180.084977] aops:xfs_address_space_operations ino:84 > > [80180.087175] flags: 0x17ffffc000016d(locked|referenced|uptodate|lru|active|head|node=0|zone=2|lastcpupid=0x1fffff) > > [80180.091380] raw: 0017ffffc000016d ffffea001745c648 ffffea0012b1da08 ffff8891726dae98 > > [80180.094469] raw: 0000000000000000 0000000000000000 0000000900000000 ffff888104f36000 > > [80180.097740] head: 0017ffffc000016d ffffea001745c648 ffffea0012b1da08 ffff8891726dae98 > > [80180.100988] head: 0000000000000000 0000000000000000 0000000900000000 ffff888104f36000 > > [80180.104129] head: 0017ffffc0000202 ffffea001d957d01 ffffffff00000003 0000000000000004 > > [80180.107232] head: 0000000000000004 0000000000000000 0000000000000000 0000000000000000 > > [80180.110338] page dumped because: still mapped when deleted > > Do you have CONFIG_PT_RECLAIM enabled? Never heard of it - what's that do, and how long before the fix gets into the mainline tree? > If so, it's buggy (see linux-mm > for a fix if you don't want to disable it). I'll disable it for now, don't feel like going on a fishing trip. -Dave. -- Dave Chinner david@xxxxxxxxxxxxx