summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/Makefile
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2020-09-29 23:25:28 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-30 00:02:54 +0300
commit77afca296fe328c94bfedc031c00e0231bf8b395 (patch)
tree539e0106d6395ed1ef3691466018215c23c2a9cb /drivers/nvdimm/Makefile
parenta1f467463ce0cf8515b1a619f3bbfa37fd6fa7b3 (diff)
downloadlinux-77afca296fe328c94bfedc031c00e0231bf8b395.tar.xz
net: vxge: Remove in_interrupt() conditionals
vxge_os_dma_malloc() and vxge_os_dma_malloc_async() are both called from callchains which use GFP_KERNEL allocations unconditionally or have other requirements to be called from fully preemptible task context.. vxge_os_dma_malloc(): 1) __vxge_hw_blockpool_create() <- GFP_KERNEL 2) __vxge_hw_mempool_grow() <- vzalloc() __vxge_hw_blockpool_malloc() vxge_os_dma_malloc_async(): 1 __vxge_hw_mempool_grow() <- vzalloc() __vxge_hw_blockpool_malloc() __vxge_hw_blockpool_blocks_add() 2) vxge_hw_vpath_open() <- vzalloc() __vxge_hw_blockpool_block_allocate() That means neither of these functions needs a conditional allocation mode. Remove the in_interrupt() conditional and use GFP_KERNEL. Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/nvdimm/Makefile')
0 files changed, 0 insertions, 0 deletions