Paul Mackerras wrote:
Chris Snook writes:I'll do this for the whole patchset. Stay tuned for the resubmit.Could you incorporate Segher's patch to turn atomic_{read,set} into asm on powerpc? Segher claims that using asm is really the only reliable way to ensure that gcc does what we want, and he seems to have a point. Paul.
I haven't seen a patch yet. I'm going to resubmit with inline volatile-cast atomic[64]_[read|set] on all architectures as a reference point, and if anyone wants to go and implement some of them in assembly, that's between them and the relevant arch maintainers. I have no problem with (someone else) doing it in assembly. I just don't think it's necessary and won't let it hold up the effort to get consistent behavior on all architectures.
-- Chris - 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/
- Follow-Ups:
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Geert Uytterhoeven <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- References:
- [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Chris Snook <[email protected]>
- RE: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: "Luck, Tony" <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Chris Snook <[email protected]>
- RE: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: "Luck, Tony" <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Andreas Schwab <[email protected]>
- RE: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: "Luck, Tony" <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Chris Snook <[email protected]>
- RE: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: "Luck, Tony" <[email protected]>
- RE: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Linus Torvalds <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Chris Snook <[email protected]>
- Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- From: Paul Mackerras <[email protected]>
- [PATCH 9/24] make atomic_read() behave consistently on ia64
- Prev by Date: [PATCH] [294/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC8XX
- Next by Date: [PATCH] [295/2many] MAINTAINERS - LINUX FOR POWERPC EMBEDDED PPC83XX AND PPC85XX
- Previous by thread: Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- Next by thread: Re: [PATCH 9/24] make atomic_read() behave consistently on ia64
- Index(es):