This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] malloc.c: size skip list to bound best-fit search time


On Sun, Dec 12, 2004 at 20:11:00 +0300, Tomash Brechko wrote:
> After applying previous patch please apply the following.
> 
> Tomash
> 
> 
> --- malloc.c-orig	2004-12-12 20:07:32.461470496 +0300
> +++ malloc.c	2004-12-12 19:43:29.458840240 +0300
> @@ -4122,7 +4122,7 @@
>            }
>          }
>  
> -        assert(!in_skip_list(victim));
> +        assert(fwd == bck || !in_skip_list(victim));
>  
>          if (has_unique_size) {
>            mlargechunkptr lvictim;

No need, sorry.  Just misunderstood my own code :-).


-- 
     Tomash Brechko
<mailto:tomash@tvcom.ru>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]