================================================================== BUG: KCSAN: data-race in fprop_reflect_period_percpu / fprop_reflect_period_percpu write to 0xffff888100f60dc8 of 4 bytes by task 25 on cpu 1: fprop_reflect_period_percpu+0x17c/0x1a0 lib/flex_proportions.c:215 fprop_fraction_percpu+0xaa/0x170 lib/flex_proportions.c:236 __wb_calc_thresh mm/page-writeback.c:769 [inline] wb_calc_thresh mm/page-writeback.c:789 [inline] wb_over_bg_thresh+0x209/0x6b0 mm/page-writeback.c:1961 wb_check_background_flush fs/fs-writeback.c:1954 [inline] wb_do_writeback+0x548/0x5d0 fs/fs-writeback.c:2052 wb_workfn+0xb8/0x410 fs/fs-writeback.c:2080 process_one_work+0x3e1/0x950 kernel/workqueue.c:2272 worker_thread+0x635/0xb90 kernel/workqueue.c:2418 kthread+0x1fa/0x220 kernel/kthread.c:292 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:296 read to 0xffff888100f60dc8 of 4 bytes by task 8481 on cpu 0: fprop_reflect_period_percpu+0x32/0x1a0 lib/flex_proportions.c:196 __fprop_inc_percpu+0x1a/0x80 lib/flex_proportions.c:222 __fprop_inc_percpu_max+0x3f/0x190 lib/flex_proportions.c:271 wb_domain_writeout_inc mm/page-writeback.c:575 [inline] __wb_writeout_inc+0x54/0x1a0 mm/page-writeback.c:599 test_clear_page_writeback+0x2fa/0x450 mm/page-writeback.c:2745 end_page_writeback+0xa7/0x110 mm/filemap.c:1487 __block_write_full_page+0x662/0x9e0 fs/buffer.c:1826 block_write_full_page+0x15d/0x190 fs/buffer.c:2980 blkdev_writepage+0x20/0x30 fs/block_dev.c:627 __writepage+0x32/0xc0 mm/page-writeback.c:2311 write_cache_pages+0x4bc/0x7f0 mm/page-writeback.c:2246 generic_writepages+0x64/0xa0 mm/page-writeback.c:2337 blkdev_writepages+0x19/0x20 fs/block_dev.c:1946 do_writepages+0x7b/0x150 mm/page-writeback.c:2352 __filemap_fdatawrite_range+0x19d/0x1d0 mm/filemap.c:422 __filemap_fdatawrite mm/filemap.c:430 [inline] filemap_flush+0x1f/0x30 mm/filemap.c:457 __sync_blockdev+0x69/0x70 fs/block_dev.c:508 __sync_filesystem fs/sync.c:40 [inline] sync_filesystem+0xcb/0x160 fs/sync.c:64 generic_shutdown_super+0x3c/0x1f0 fs/super.c:448 kill_block_super+0x4a/0x90 fs/super.c:1446 deactivate_locked_super+0x6a/0xb0 fs/super.c:335 deactivate_super+0x85/0x90 fs/super.c:366 cleanup_mnt+0x277/0x2e0 fs/namespace.c:1118 __cleanup_mnt+0x15/0x20 fs/namespace.c:1125 task_work_run+0x8e/0x110 kernel/task_work.c:151 tracehook_notify_resume include/linux/tracehook.h:188 [inline] exit_to_user_mode_loop kernel/entry/common.c:164 [inline] exit_to_user_mode_prepare+0x13c/0x170 kernel/entry/common.c:191 syscall_exit_to_user_mode+0x16/0x30 kernel/entry/common.c:266 do_syscall_64+0x45/0x80 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x44/0xa9 Reported by Kernel Concurrency Sanitizer on: CPU: 0 PID: 8481 Comm: syz-executor.1 Not tainted 5.9.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================