Merge tag 'v6.11-rc3' into android-mainline
Linux 6.11-rc3 Signed-off-by: Lee Jones <joneslee@google.com> Change-Id: I514576a36c870fdc69a1763b6ac0222b2968eaf5
This commit is contained in:
+4
-1
@@ -416,8 +416,11 @@ static unsigned long long phys_addr(struct dma_debug_entry *entry)
|
||||
* dma_active_cacheline entry to track per event. dma_map_sg(), on the
|
||||
* other hand, consumes a single dma_debug_entry, but inserts 'nents'
|
||||
* entries into the tree.
|
||||
*
|
||||
* Use __GFP_NOWARN because the printk from an OOM, to netconsole, could end
|
||||
* up right back in the DMA debugging code, leading to a deadlock.
|
||||
*/
|
||||
static RADIX_TREE(dma_active_cacheline, GFP_ATOMIC);
|
||||
static RADIX_TREE(dma_active_cacheline, GFP_ATOMIC | __GFP_NOWARN);
|
||||
static DEFINE_SPINLOCK(radix_lock);
|
||||
#define ACTIVE_CACHELINE_MAX_OVERLAP ((1 << RADIX_TREE_MAX_TAGS) - 1)
|
||||
#define CACHELINE_PER_PAGE_SHIFT (PAGE_SHIFT - L1_CACHE_SHIFT)
|
||||
|
||||
Reference in New Issue
Block a user