lkml.org 
[lkml]   [2005]   [Mar]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/5] vmalloc: introduce __vmalloc_area() function
On Sun, Mar 06, 2005 at 09:56:35PM +0300, Oleg Nesterov wrote:
> There are 3 copy-and-paste implementations of __vmalloc() in
> arch/{arm,sparc64,x86_64}/kernel/module.c.

There is actually a similar copy in arch/arm/mm/consistent.c, but at the
time I cleaned it up to be something saner. With some tweaks (such as
adding a struct vm_region_head which contains the spinlock, as well as
the start/end and list) we essentially end up with a generic memory
region allocator suitable for vmalloc, ioremap, module stuff, and so
forth.

If anyone's interested in that, I'll sort out those tweaks.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
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 14:11    [W:0.061 / U:0.068 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site