Messages in this thread | | | Date | Fri, 4 Aug 2023 12:30:52 +0200 | Subject | Re: [PATCH net-next v3 5/6] page_pool: add a lockdep check for recycling in hardirq | From | Jesper Dangaard Brouer <> |
| |
On 03/08/2023 20.20, Alexander Lobakin wrote: > From: Jakub Kicinski<kuba@kernel.org> > > Page pool use in hardirq is prohibited, add debug checks > to catch misuses. IIRC we previously discussed using > DEBUG_NET_WARN_ON_ONCE() for this, but there were concerns > that people will have DEBUG_NET enabled in perf testing. > I don't think anyone enables lockdep in perf testing, > so use lockdep to avoid pushback and arguing :) > > Signed-off-by: Jakub Kicinski<kuba@kernel.org> > Signed-off-by: Alexander Lobakin<aleksander.lobakin@intel.com>
I like this.
Acked-by: Jesper Dangaard Brouer <hawk@kernel.org>
| |