lkml.org 
[lkml]   [2021]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [KVM] d3750a0923: WARNING:possible_circular_locking_dependency_detected
From
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

\
 
 \ /
  Last update: 2021-12-06 07:56    [W:0.048 / U:0.400 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site