[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200610231036.10418.dada1@cosmosbay.com>
Date: Mon, 23 Oct 2006 10:36:09 +0200
From: Eric Dumazet <dada1@...mosbay.com>
To: Andrew Morton <akpm@...l.org>
Cc: linux-kernel@...r.kernel.org
Subject: [PATCH] vmalloc : optimization, cleanup, bugfixes
[PATCH] vmalloc : optimization, cleanup, bugfixes
This patch does three things
1) reorder 'struct vm_struct' to speedup lookups on CPUS with small cache
lines. The fields 'next,addr,size' should be now in the same cache line, to
speedup lookups.
2) One minor cleanup in __get_vm_area_node()
3) Bugfixes in vmalloc_user() and vmalloc_32_user()
NULL returns from __vmalloc() and __find_vm_area() were not tested.
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
View attachment "vmalloc.patch" of type "text/plain" (1777 bytes)
Powered by blists - more mailing lists