================================================================== BUG: KCSAN: data-race in fprop_fraction_percpu / percpu_counter_add_batch read to 0xffffffff86042790 of 8 bytes by task 441 on cpu 0: fprop_fraction_percpu+0x9c/0x1c0 lib/flex_proportions.c:238 __wb_calc_thresh+0x6f/0x250 mm/page-writeback.c:775 wb_calc_thresh+0x96/0xc0 mm/page-writeback.c:795 wb_over_bg_thresh+0x287/0x490 mm/page-writeback.c:1949 wb_check_background_flush fs/fs-writeback.c:1952 [inline] wb_do_writeback fs/fs-writeback.c:2050 [inline] wb_workfn+0x3b3/0x970 fs/fs-writeback.c:2078 process_one_work+0x3d4/0x890 kernel/workqueue.c:2269 worker_thread+0xa0/0x800 kernel/workqueue.c:2415 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 write to 0xffffffff86042790 of 8 bytes by interrupt on cpu 1: percpu_counter_add_batch+0xca/0x150 lib/percpu_counter.c:91 percpu_counter_add include/linux/percpu_counter.h:55 [inline] __fprop_inc_percpu_max+0xb9/0x150 lib/flex_proportions.c:272 wb_domain_writeout_inc mm/page-writeback.c:581 [inline] __wb_writeout_inc mm/page-writeback.c:605 [inline] test_clear_page_writeback+0x543/0x790 mm/page-writeback.c:2737 end_page_writeback+0x9e/0x190 mm/filemap.c:1339 end_buffer_async_write+0x2dc/0x3a0 fs/buffer.c:349 end_bio_bh_io_sync+0x87/0xb0 fs/buffer.c:2978 bio_endio+0x3a8/0x4f0 block/bio.c:1818 req_bio_endio block/blk-core.c:242 [inline] blk_update_request+0x427/0x7b0 block/blk-core.c:1462 scsi_end_request+0x6b/0x3e0 drivers/scsi/scsi_lib.c:579 scsi_io_completion+0x11d/0xc80 drivers/scsi/scsi_lib.c:963 scsi_finish_command+0x280/0x380 drivers/scsi/scsi.c:228 scsi_softirq_done+0x259/0x280 drivers/scsi/scsi_lib.c:1477 blk_done_softirq+0x1eb/0x250 block/blk-softirq.c:37 __do_softirq+0x115/0x33f kernel/softirq.c:292 run_ksoftirqd+0x46/0x60 kernel/softirq.c:603 smpboot_thread_fn+0x37d/0x4a0 kernel/smpboot.c:165 kthread+0x1d4/0x200 drivers/block/aoe/aoecmd.c:1253 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:352 Reported by Kernel Concurrency Sanitizer on: CPU: 1 PID: 16 Comm: ksoftirqd/1 Not tainted 5.4.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ==================================================================