Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Eric Dumazet <dada1@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, Linus Torvalds <torvalds@...>, Andrew Morton <akpm@...>, Ulrich Drepper <drepper@...>, Ingo Molnar <mingo@...>
Date: Sunday, June 3, 2007 - 6:51 pm

On Sun, 3 Jun 2007, Eric Dumazet wrote:

ion,

With or w/out the comments? :)



work
clic
t
be

A bitmap allocator made sense because it has the property of making=20
allocations compact. Once that requirement is relaxed, it does not make=20
any sense to use it (and you have still to modify it in any case).
I generally agree on code re-use, but that just not the right structure.=20
You can tweak it how much you like, but you're still doing a search inside=
=20
an N-sized bitmap. It's just the *wrong* structure.
I-cache pressure? All the extra code that you see out of fdmap.c/h, comes=
=20
from handling two "bitmaps", that you still have to have (unless you=20
plan to have a single huge botmap that covers legacy and non-sequential=20
areas). But with a bitmap structure, you're gonna have more D-cache=20
pressure. And that's a fact.



- Davide
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Sat Jun 2, 6:59 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Sun Jun 3, 5:19 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Sun Jun 3, 6:51 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Andrew Morton, (Mon Jun 4, 2:08 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Andrew Morton, (Mon Jun 4, 4:34 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Mon Jun 4, 6:28 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 8:55 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Mon Jun 4, 9:25 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Ingo Molnar, (Mon Jun 4, 10:12 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Mon Jun 4, 10:27 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Tue Jun 5, 6:29 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Tue Jun 5, 4:57 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Thomas Gleixner, (Tue Jun 5, 4:50 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 9:35 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Eric Dumazet, (Mon Jun 4, 10:28 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 10:53 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 9:33 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Andrew Morton, (Mon Jun 4, 4:47 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 9:05 am)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Andrew Morton, (Mon Jun 4, 12:56 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 1:57 pm)
Re: [patch 1/2] ufd v1 - unsequential O(1) fdmap core, Davide Libenzi, (Mon Jun 4, 9:30 am)