summaryrefslogtreecommitdiff
path: root/kernel/workqueue.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2022-12-20 09:08:12 +0100
committerChristoph Hellwig <hch@lst.de>2022-12-21 08:45:38 +0100
commit3622b86f49f84e52fb41fee9eb55f9290613dfc3 (patch)
tree4913704a615756bd5519cf6e3276c6131cdb8549 /kernel/workqueue.c
parentdb918321275d648294a3fb2bdefeb99e33f00467 (diff)
downloadlwn-3622b86f49f84e52fb41fee9eb55f9290613dfc3.tar.gz
lwn-3622b86f49f84e52fb41fee9eb55f9290613dfc3.zip
dma-mapping: reject GFP_COMP for noncoherent allocations
While not quite as bogus as for the dma-coherent allocations that were fixed earlier, GFP_COMP for these allocations has no benefits for the dma-direct case, and can't be supported at all by dma dma-iommu backend which splits up allocations into smaller orders. Due to an oversight in ffcb75458460 that flag stopped being cleared for all dma allocations, but only got rejected for coherent ones, so fix up these callers to not allow __GFP_COMP as well after the sound code has been fixed to not ask for it. Fixes: ffcb75458460 ("dma-mapping: reject __GFP_COMP in dma_alloc_attrs") Reported-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Reported-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Takashi Iwai <tiwai@suse.de> Tested-by: Mikhail Gavrilov <mikhail.v.gavrilov@gmail.com> Tested-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Diffstat (limited to 'kernel/workqueue.c')
0 files changed, 0 insertions, 0 deletions