On Wed, Nov 15, 2017 at 3:13 AM, 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.dif
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
Looks better, thanks!
Co
> 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. Still need to volatil
On Tue, Aug 8, 2017 at 3:16 AM, Taylor R Campbell
wrote:
>> 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 w
> 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 localcount
> if LOCKDEBUG ena
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 used only
>> in thread contexts. And the above assertion shou
> 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 much worthwhile ;-<
You
On Wed, Jul 26, 2017 at 1:34 PM, Ryota Ozaki 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 specified localcount.
>
> A result of lo
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
(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
10 matches
Mail list logo