Commit 0bdb56ea authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Sasha Levin
Browse files

PCI/P2PDMA: Fix a sleeping issue in a RCU read section

[ Upstream commit 1e5c66af ]

It is not allowed to sleep within a RCU read section, so use GFP_ATOMIC
instead of GFP_KERNEL here.

Link: https://lore.kernel.org/r/02d9ec4a10235def0e764ff1f5be881ba12e16e8.1704397858.git.christophe.jaillet@wanadoo.fr


Fixes: ae21f835 ("PCI/P2PDMA: Finish RCU conversion of pdev->p2pdma")
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarBjorn Helgaas <bhelgaas@google.com>
Reviewed-by: default avatarLogan Gunthorpe <logang@deltatee.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 56cad01c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment