Re: [PATCH 2.5.3-dj1] Radix tree page cache

From: Momchil Velikov (velco@fadata.bg)
Date: Mon Feb 04 2002 - 17:10:34 EST


>>>>> "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/



This archive was generated by hypermail 2b29 : Thu Feb 07 2002 - 21:00:38 EST