[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20211130070230.73b4c5f2@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com>
Date: Tue, 30 Nov 2021 07:02:30 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Dmitry Vyukov <dvyukov@...gle.com>
Cc: eric.dumazet@...il.com, davem@...emloft.net, edumazet@...gle.com,
netdev@...r.kernel.org
Subject: Re: [RFC -next 1/2] lib: add reference counting infrastructure
On Tue, 30 Nov 2021 10:09:52 +0100 Dmitry Vyukov wrote:
> 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.
I don't mind, I was primarily targeting syzbot instances which will
have KASAN enabled AFAIU.
Powered by blists - more mailing lists