ref_tracker: remove filter_irq_stacks() call
After commit e940066089
("lib/stackdepot: always do filter_irq_stacks()
in stack_depot_save()") it became unnecessary to filter the stack
before calling stack_depot_save().
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Marco Elver <elver@google.com>
Cc: Alexander Potapenko <glider@google.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9c1be1935f
commit
c2d1e3df4a
|
@ -89,7 +89,6 @@ int ref_tracker_alloc(struct ref_tracker_dir *dir,
|
|||
return -ENOMEM;
|
||||
}
|
||||
nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1);
|
||||
nr_entries = filter_irq_stacks(entries, nr_entries);
|
||||
tracker->alloc_stack_handle = stack_depot_save(entries, nr_entries, gfp);
|
||||
|
||||
spin_lock_irqsave(&dir->lock, flags);
|
||||
|
@ -120,7 +119,6 @@ int ref_tracker_free(struct ref_tracker_dir *dir,
|
|||
return -EEXIST;
|
||||
}
|
||||
nr_entries = stack_trace_save(entries, ARRAY_SIZE(entries), 1);
|
||||
nr_entries = filter_irq_stacks(entries, nr_entries);
|
||||
stack_handle = stack_depot_save(entries, nr_entries, GFP_ATOMIC);
|
||||
|
||||
spin_lock_irqsave(&dir->lock, flags);
|
||||
|
|
Loading…
Reference in New Issue