Re: [patch 3/5] atomic: atomic_inc_not_zero

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christoph Lameter wrote:
Maybe it would be best to put a definition of atomic_inc_zero into asm-generic? Its the same for all arches that support cmpxchg.


Yeah, I considered this. But there is a precedent for such duplication,
and as yet there is no common header file. So it does not belong in this
particular patch... not to say it is without merit though.

The arch maintainers I talked to generally didn't think it was a really
pressing issue, so I think I would leave such a consolidation patch for
someone else.

--
SUSE Labs, Novell Inc.

Send instant messages to your online friends http://au.messenger.yahoo.com -
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux