lkml.org 
[lkml]   [2013]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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 04/24/2013 07:05 PM, Sedat Dilek wrote:
> On Thu, Apr 25, 2013 at 12:16 AM, Davidlohr Bueso
> <davidlohr.bueso@hp.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@hp.com>
>> Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
>> CC: Rik van Riel <riel@surriel.com>
>> CC: Paul McKenney <paul.mckenney@linaro.org>
>> CC: Sedat Dilek <sedat.dilek@gmail.com>
>> CC: Emmanuel Benisty <benisty.e@gmail.com>
>> CC: Andrew Morton <akpm@linux-foundation.org>
>
> Missing my Reported-by ...!

> ...so please add also my Tested-by!

And my ax!

I mean ... Reviewed-by: Rik van Riel <riel@redhat.com>

--
All rights reversed.


\
 
 \ /
  Last update: 2013-04-25 15:21    [W:0.055 / U:0.692 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site