[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200906125358.04be09a6@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Sun, 6 Sep 2020 12:53:58 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: benve@...co.com, govind@....com, davem@...emloft.net,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] enic: switch from 'pci_' to 'dma_' API
On Sun, 6 Sep 2020 14:45:41 +0200 Christophe JAILLET wrote:
> The wrappers in include/linux/pci-dma-compat.h should go away.
>
> The patch has been generated with the coccinelle script below and has been
> hand modified to replace GFP_ with a correct flag.
> It has been compile tested.
>
> When memory is allocated in 'vnic_dev_classifier()', 'vnic_dev_fw_info()',
> 'vnic_dev_notify_set()' and 'vnic_dev_stats_dump()' (vnic_dev.c) GFP_ATOMIC
> must be used because its callers take a spinlock before calling these
> functions.
Applied, thank you!
Powered by blists - more mailing lists