lkml.org 
[lkml]   [2002]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
SubjectRe: [PATCH 2.5.3-dj1] Radix tree page cache
From
Date
>>>>> "Momchil" == Momchil Velikov <velco@fadata.bg> writes:

Momchil> This is the radix tree page cache patch against 2.5.3-dj1. Changes
Momchil> from the previous release - couple of bug fixes.

Ok, here goes an additional one, let it _actually_ use the mempools.

Regards,
-velco

diff -Nru a/lib/radix-tree.c b/lib/radix-tree.c
--- a/lib/radix-tree.c Tue Feb 5 00:06:57 2002
+++ b/lib/radix-tree.c Tue Feb 5 00:06:57 2002
@@ -56,12 +56,6 @@
#define radix_tree_node_free(node) \
mempool_free((node), radix_tree_node_pool);

-#define radix_tree_node_alloc(root) \
- kmem_cache_alloc(radix_tree_node_cachep, (root)->gfp_mask)
-#define radix_tree_node_free(node) \
- kmem_cache_free(radix_tree_node_cachep, (node))
-
-
/*
* Return the maximum key, which can be store into a radix tree
* with height HEIGHT.
-
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:23    [W:0.039 / U:0.072 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site