lkml.org 
[lkml]   [2002]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] 2.5.1-pre5: per-cpu areas
On Fri, Mar 15, 2002 at 03:07:27PM +1100, Rusty Russell wrote:
> They must return an lvalue, otherwise they're useless for 50% of cases
> (ie. assignment). x86_64 can still use its own mechanism for
> arch-specific per-cpu data, of course.

Assignment should use an own macro (set_this_cpu()) or use per_cpu().

Alternatively you could split it into this_cpu_lvalue() and this_cpu(),
but this would be slightly less efficient.

-Andi


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

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