public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Momchil Velikov <velco@fadata.bg>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH 2.5.3-dj1] Radix tree page cache
Date: 05 Feb 2002 00:10:34 +0200	[thread overview]
Message-ID: <87sn8g525h.fsf@fadata.bg> (raw)
In-Reply-To: <87zo2pybv0.fsf@fadata.bg>
In-Reply-To: <87zo2pybv0.fsf@fadata.bg>

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

      reply	other threads:[~2002-02-04 22:11 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-04  6:55 [PATCH 2.5.3-dj1] Radix tree page cache Momchil Velikov
2002-02-04 22:10 ` Momchil Velikov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sn8g525h.fsf@fadata.bg \
    --to=velco@fadata.bg \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox