lkml.org 
[lkml]   [2010]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[cpuops cmpxchg V2 0/5] Cmpxchg and xchg operations
Add cmpxchg and xchg operations to the cpu ops and use them for irq handling
and for vm statistics.

Requires the per cpu patches for and_return cpu ops.

V1->V2:
- Determine that cmpxchg without LOCK is faster than xchg with
implied lock (numbers are in the patch description).
- Drop 64 bit cpuops operations on 32 bit x86 (resulted in various
nasty things such as 64 bit alignment requirements for 64 bit
entities on 32 bit, sizable inline code and very complex macros)




\
 
 \ /
  Last update: 2010-12-14 17:31    [W:1.843 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site