linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cmpxchg in 2.5.38
@ 2002-09-25  5:00 Pete Zaitcev
  2002-09-25  4:54 ` David S. Miller
  2002-09-25  7:18 ` Oleg Drokin
  0 siblings, 2 replies; 13+ messages in thread
From: Pete Zaitcev @ 2002-09-25  5:00 UTC (permalink / raw)
  To: mingo, torvalds; +Cc: Pete Zaitcev, linux-kernel

The cmpxchg() is used in kernel/pid.c:next_free_map():

                        if (cmpxchg(&map->page, NULL, (void *) page))
                                free_page(page);

It is implemented on alpha, i386, ia64, ppc64, ppc, sparc64,
x86_64, but not on mips, cris, arm, s390, s390x, sparc, sh, parisc.
Do all architectures have to have it?

-- Pete

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2002-09-25 20:08 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-25  5:00 cmpxchg in 2.5.38 Pete Zaitcev
2002-09-25  4:54 ` David S. Miller
2002-09-25  7:18 ` Oleg Drokin
2002-09-25  7:47   ` David S. Miller
2002-09-25  8:07     ` Oleg Drokin
2002-09-25  8:26       ` Ingo Molnar
2002-09-25  8:48         ` [patch] pidhash-2.5.38-A0 Ingo Molnar
2002-09-25 12:04         ` cmpxchg in 2.5.38 Geert Uytterhoeven
2002-09-25 17:42         ` Pete Zaitcev
2002-09-25 19:34           ` Ingo Molnar
2002-09-25 20:03             ` David S. Miller
2002-09-25 18:59         ` David S. Miller
2002-09-25 19:02         ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).