Re: [rfc 03/45] Generic CPU operations: Core piece

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <clameter@...>
Cc: <ak@...>, <akpm@...>, <travis@...>, <linux-kernel@...>
Date: Monday, November 19, 2007 - 11:17 pm

Very interesting patch! I did not expect we could mix local atomic ops
with per CPU offsets in an atomic manner.. brilliant :)

Some nitpicking follows...

* clameter@sgi.com (clameter@sgi.com) wrote:

handling

interrupts


variable

that

capable


added


context


I think you could use extra () around old, new etc.. ?


Same here.


() seems unneeded here, since x is local.


({ }) seems to be unneeded here.


and here..


Add ()


add ()


()


() seems unneeded here, since x is local.


Unnecessary ({ })


()


() seems unneeded here, since x is local.


()


() seems unneeded here, since x is local.


-- 
Mathieu Desnoyers
Computer Engineering Ph.D. Student, Ecole Polytechnique de Montreal
OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F  BA06 3F25 A8FE 3BAE 9A68
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [rfc 03/45] Generic CPU operations: Core piece, Mathieu Desnoyers, (Mon Nov 19, 11:17 pm)
Re: [rfc 03/45] Generic CPU operations: Core piece, Christoph Lameter, (Mon Nov 19, 11:30 pm)
Re: [rfc 03/45] Generic CPU operations: Core piece, Mathieu Desnoyers, (Tue Nov 20, 12:07 am)
Re: [rfc 03/45] Generic CPU operations: Core piece, Christoph Lameter, (Tue Nov 20, 4:36 pm)