lkml.org 
[lkml]   [2003]   [May]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] kmalloc_percpu
From
   From: Andrew Morton <akpm@digeo.com>
Date: Mon, 5 May 2003 22:02:50 -0700

"David S. Miller" <davem@redhat.com> wrote:
> Andrew's example with some module doing kmalloc_percpu() inside
> of fops->open() is just rediculious.

crap. Modules deal with per-device and per-mount objects. If a module
cannot use kmalloc_per_cpu on behalf of the primary object which it manages
then the facility is simply not useful to modules.

Ok then.

Please address the ia64 concerns then :-) It probably means we
have to stay with the dereferencing stuff... at which point you
might as well use normal kmalloc() and smp_processor_id() indexing
inside of modules.
-
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:35    [W:0.083 / U:0.152 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site