lkml.org 
[lkml]   [2009]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 2/3] generic-ipi: remove kmalloc()
Date
On Wednesday 18 February 2009 08:29:06 Peter Zijlstra wrote:
> Remove the use of kmalloc() from the smp_call_function_*() calls.

This patch is actually quite nice. Not sure it's correct, but it's neat :)

One minor quibble:

> + data = &per_cpu(csd_data, me);

"data = &__get_cpu_var(csd_data);" is slightly preferred. A few less cycles.

Thanks,
Rusty.


\
 
 \ /
  Last update: 2009-02-18 12:23    [W:0.175 / U:1.000 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site