On Tue, 14 Nov 2017, Taylor R Campbell wrote:
Date: Mon, 13 Nov 2017 13:59:32 +0900
From: Ryota Ozaki
I'm sorry for not replying this thread. I'm back.
I've revised the patch as your suggestions:
http://www.netbsd.org/~ozaki-r/localcount_debug_atomic.revised.diff
> Date: Mon, 13 Nov 2017 13:59:32 +0900
> From: Ryota Ozaki
>
> I'm sorry for not replying this thread. I'm back.
>
> I've revised the patch as your suggestions:
> http://www.netbsd.org/~ozaki-r/localcount_debug_atomic.revised.diff
Looks better, thanks!
Couple nits:
1.
> Date: Mon, 7 Aug 2017 13:08:35 +0900
> From: Ryota Ozaki
>
> Anyway I've brought another (stupid) approach that uses an atomic
> counter:
> http://www.netbsd.org/~ozaki-r/localcount_debug_atomic.diff
>
> It counts up a counter with atomic instructions along with
On Thu, Jul 27, 2017 at 1:49 AM, Taylor R Campbell
wrote:
>> Date: Wed, 26 Jul 2017 18:41:36 +0900
>> From: Ryota Ozaki
>>
>> Oops. I thought we could use percpu_foreach in softint, but
>> I was wrong. So localcount_debug_refcnt can be
> Date: Wed, 26 Jul 2017 18:41:36 +0900
> From: Ryota Ozaki
>
> Oops. I thought we could use percpu_foreach in softint, but
> I was wrong. So localcount_debug_refcnt can be used only
> in thread contexts. And the above assertion shouldn't be
> there. The proposal isn't so
On Wed, Jul 26, 2017 at 1:34 PM, Ryota Ozaki <ozak...@netbsd.org> wrote:
> (resending, please ignore if duplicated)
>
> Hi,
>
> I propose a debugging function of localcount,
> localcount_debug_refcnt, which returns a total
> reference count of a specifi
Hi,
I propose a debugging function of localcount,
localcount_debug_refcnt, which returns a total
reference count of a specified localcount.
A result of localcount_debug_refcnt isn't guaranteed
to be accurate, however it's still useful for
debugging purposes, for example debugging on
ATF tests
(resending, please ignore if duplicated)
Hi,
I propose a debugging function of localcount,
localcount_debug_refcnt, which returns a total
reference count of a specified localcount.
A result of localcount_debug_refcnt isn't guaranteed
to be accurate, however it's still useful for
debugging