[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+i8gK+ouTuk=1oUT8ZLrLnbKDf75-f_NPeXn9763JK-csRdmQ@mail.gmail.com>
Date: Thu, 25 Apr 2013 20:14:42 +0700
From: Emmanuel Benisty <benisty.e@...il.com>
To: Rik van Riel <riel@...riel.com>
Cc: sedat.dilek@...il.com, Davidlohr Bueso <davidlohr.bueso@...com>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Paul McKenney <paulmck@...ux.vnet.ibm.com>,
Paul McKenney <paul.mckenney@...aro.org>,
linux-next <linux-next@...r.kernel.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH -next] ipc: make refcounter atomic (was Re: linux-next:
Tree for Apr 23 [ Call-Traces: lib/debugobjects.c | kernel/rcupdate.c |
kernel/rcutree.c ])
On Thu, Apr 25, 2013 at 7:56 PM, Rik van Riel <riel@...riel.com> wrote:
> On 04/24/2013 07:05 PM, Sedat Dilek wrote:
>>
>> On Thu, Apr 25, 2013 at 12:16 AM, Davidlohr Bueso
>> <davidlohr.bueso@...com> wrote:
>
>
>>> This patch converts the IPC RCU header's reference counter to atomic_t.
>>> The return of
>>> ipc_rcu_getref() is modified to inform the callers if it actually
>>> succeeded.
>>>
>>> Now all callers return -EIDRM upon failure and abort the current
>>> operation. Two exceptions are
>>> in semaphore code where sem_getref_and_unlock() and sem_getref() trigger
>>> a warning but proceed
>>> to freeing up any held locks.
>>>
>>> Signed-off-by: Davidlohr Bueso <davidlohr.bueso@...com>
>>> Suggested-by: Linus Torvalds <torvalds@...ux-foundation.org>
>>> CC: Rik van Riel <riel@...riel.com>
>>> CC: Paul McKenney <paul.mckenney@...aro.org>
>>> CC: Sedat Dilek <sedat.dilek@...il.com>
>>> CC: Emmanuel Benisty <benisty.e@...il.com>
>>> CC: Andrew Morton <akpm@...ux-foundation.org>
>>
>>
>> Missing my Reported-by ...!
>
>
>> ...so please add also my Tested-by!
>
>
> And my ax!
>
> I mean ... Reviewed-by: Rik van Riel <riel@...hat.com>
FWIW, my machine survived building chromium with this patch instead of Linus'.
Thanks.
-- Emmanuel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists