lkml.org 
[lkml]   [2000]   [Jan]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: (*(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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.080 / U:1.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site