lkml.org 
[lkml]   [2010]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] atomic: add atomic_inc_not_zero_hint()
From
Date
Le vendredi 05 novembre 2010 à 12:39 -0700, Andrew Morton a écrit :

> Ah. I wasn't able to see much duplicated code at all, so I wasn't sure
> that we needed to bother about this issue.
>
> yup, atomic_inc_not_zero() looks like a candidate.

yes, and atomic_add_unless()...

>
> > [PATCH v3] atomic: add atomic_inc_not_zero_hint()
>
> Let's go with this for now ;)
>
> I'll assume that you intend to make use of this function soon, and it
> looks safe enough to sneak it into 2.6.37-rc2, IMO. If Linus shouts at
> me then we could merge it into 2.6.38-rc1 via net-next, but I think
> straight-to-mainline is best.
>

Well, I dont expect using it before 2.6.38, no hurry Andrew, but it
probably can be merged before, since it has no user yet. It'll help our
job for sure.

Thanks


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2010-11-05 20:49    [W:0.093 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site