Merge branch 'pci/p2pdma'
- Fix a sleeping issue in a RCU read section (Christophe JAILLET) * pci/p2pdma: PCI/P2PDMA: Fix a sleeping issue in a RCU read sectionpull/819/head
commit
3dfd824796
|
|
@ -661,7 +661,7 @@ done:
|
|||
p2pdma = rcu_dereference(provider->p2pdma);
|
||||
if (p2pdma)
|
||||
xa_store(&p2pdma->map_types, map_types_idx(client),
|
||||
xa_mk_value(map_type), GFP_KERNEL);
|
||||
xa_mk_value(map_type), GFP_ATOMIC);
|
||||
rcu_read_unlock();
|
||||
return map_type;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue