[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211130090952.4089393-1-dvyukov@google.com>
Date: Tue, 30 Nov 2021 10:09:52 +0100
From: Dmitry Vyukov <dvyukov@...gle.com>
To: eric.dumazet@...il.com
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
netdev@...r.kernel.org
Subject: Re: [RFC -next 1/2] lib: add reference counting infrastructure
Hi Eric, Jakub,
How strongly do you want to make this work w/o KASAN?
I am asking because KASAN will already memorize alloc/free stacks for every
heap object (+ pids + 2 aux stacks with kasan_record_aux_stack()).
So basically we just need to alloc struct list_head and won't need
quarantine/quarantine_avail in ref_tracker_dir.
If there are some refcount bugs, it may be due to a previous use-after-free,
so debugging a refcount bug w/o KASAN may be waste of time.
Powered by blists - more mailing lists