On 12/5/21 14:30, kernel test robot wrote:
Chain exists of: fs_reclaim --> mmu_notifier_invalidate_range_start --> &(kvm)->mmu_lock Possible unsafe locking scenario: CPU0 CPU1 ---- ---- lock(&(kvm)->mmu_lock); lock(mmu_notifier_invalidate_range_start); lock(&(kvm)->mmu_lock); lock(fs_reclaim);
David, this is yours; basically, kvm_mmu_topup_memory_cache must be called outside the mmu_lock.
Paolo