Messages in this thread | | | Date | Thu, 6 Jan 2000 16:32:17 +0000 (GMT) | From | Tigran Aivazian <> | Subject | Re: (*(unsigned long *)&jiffies)++; |
| |
On Thu, 6 Jan 2000, Richard B. Johnson wrote: > If it is essential that instructions be ordered in a specific way, > then a platform-specific macro should have been defined using the > necessary assembly language.
what's wrong with using existing atomic_XXX() macros? They are explicitly __volatile__ and use incl without performance penalty on UP (because LOCK is nop on UP and lock prefix on SMP).
Just an idea.
Tigran.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |