All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: npiggin@suse.de
Cc: hch@infradead.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, netdev@vger.kernel.org, paulmck@us.ibm.com
Subject: Re: [patch][rfc] ddds: "dynamic dynamic data structure" algorithm, for adaptive dcache hash table sizing (resend)
Date: Tue, 07 Oct 2008 14:06:45 -0700 (PDT)	[thread overview]
Message-ID: <20081007.140645.119998645.davem@davemloft.net> (raw)
In-Reply-To: <20081007075309.GA16143@wotan.suse.de>

From: Nick Piggin <npiggin@suse.de>
Date: Tue, 7 Oct 2008 09:53:09 +0200

> Dcache lookup is partially a tree lookup, but also how do you look up
> entries in a given directory? That is not naturally a tree lookup. Could
> be a per directory tree, though, or a hash, or trie.
> 
> Anyway, I don't volunteer to change that just yet ;)

Historically speaking, the original dcache by Thomas Schoebel-Theuer
(circa 1997) was in fact implemented as a per-directory hash table.

This has all kinds of recursion and other issues, which is why Linus
eventually changed it to use a global hash table scheme.

WARNING: multiple messages have this Message-ID (diff)
From: David Miller <davem@davemloft.net>
From: Nick Piggin <npiggin@suse.de>
To: npiggin@suse.de
Cc: hch@infradead.org, linux-kernel@vger.kernel.org,
	linux-mm@kvack.org, netdev@vger.kernel.org, paulmck@us.ibm.com
Subject: Re: [patch][rfc] ddds: "dynamic dynamic data structure" algorithm, for adaptive dcache hash table sizing (resend)
Date: Tue, 07 Oct 2008 14:06:45 -0700 (PDT)
Date: Tue, 7 Oct 2008 09:53:09 +0200	[thread overview]
Message-ID: <20081007.140645.119998645.davem@davemloft.net> (raw)
In-Reply-To: <20081007075309.GA16143@wotan.suse.de>

> Dcache lookup is partially a tree lookup, but also how do you look up
> entries in a given directory? That is not naturally a tree lookup. Could
> be a per directory tree, though, or a hash, or trie.
> 
> Anyway, I don't volunteer to change that just yet ;)

Historically speaking, the original dcache by Thomas Schoebel-Theuer
(circa 1997) was in fact implemented as a per-directory hash table.

This has all kinds of recursion and other issues, which is why Linus
eventually changed it to use a global hash table scheme.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

  reply	other threads:[~2008-10-07 21:07 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-07  6:48 [patch][rfc] ddds: "dynamic dynamic data structure" algorithm, for adaptive dcache hash table sizing Nick Piggin
2008-10-07  6:48 ` Nick Piggin
2008-10-07  7:02 ` [patch][rfc] ddds: "dynamic dynamic data structure" algorithm, for adaptive dcache hash table sizing (resend) Nick Piggin
2008-10-07  7:02   ` Nick Piggin
2008-10-07  7:18   ` Christoph Hellwig
2008-10-07  7:18     ` Christoph Hellwig
2008-10-07  7:53     ` Nick Piggin
2008-10-07  7:53       ` Nick Piggin
2008-10-07 21:06       ` David Miller [this message]
2008-10-07 21:06         ` David Miller, Nick Piggin
2008-10-07 15:37     ` Mikael Pettersson
2008-10-07 15:37       ` Mikael Pettersson
2008-10-07 16:39       ` Nick Piggin
2008-10-07 16:39         ` Nick Piggin
2008-10-07  7:37   ` Eric Dumazet
2008-10-07  7:37     ` Eric Dumazet
2008-10-07  8:06     ` Nick Piggin
2008-10-07  8:06       ` Nick Piggin
2008-10-07 21:05       ` David Miller
2008-10-07 21:05         ` David Miller, Nick Piggin
2008-10-08  2:38         ` Nick Piggin
2008-10-08  2:38           ` Nick Piggin
2008-10-07 21:08 ` [patch][rfc] ddds: "dynamic dynamic data structure" algorithm, for adaptive dcache hash table sizing David Miller
2008-10-07 21:08   ` David Miller, Nick Piggin
2008-10-08  2:48   ` Nick Piggin
2008-10-08  2:48     ` Nick Piggin
2008-10-08  3:12     ` Paul E. McKenney
2008-10-08  3:12       ` Paul E. McKenney
2008-10-08  3:27       ` Nick Piggin
2008-10-08  3:27         ` Nick Piggin

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=20081007.140645.119998645.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=hch@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=netdev@vger.kernel.org \
    --cc=npiggin@suse.de \
    --cc=paulmck@us.ibm.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.