[RFC PATCH 1/4] tracing: add __print_sym() to replace __print_symbolic()

2023-09-21 Thread Johannes Berg
From: Johannes Berg The way __print_symbolic() works is limited and inefficient in multiple ways: - you can only use it with a static list of symbols, but e.g. the SKB dropreasons are now a dynamic list - it builds the list in memory _three_ times, so it takes a lot of memory: - The p

Re: [RFC PATCH 1/4] tracing: add __print_sym() to replace __print_symbolic()

2023-09-21 Thread Johannes Berg
On Thu, 2023-09-21 at 08:51 +, Johannes Berg wrote: > > - Is it correct that we can assume RCU critical section when in >the lookup function? The SKB code currently does, but I may >not ever have actually run this code yet. Well, I could easily answer that myself, and no, it's incorr