[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/44969: vmem_xalloc() don't search best-fit free segment in spite of VMEM_BESTFIT
The following reply was made to PR kern/44969; it has been noted by GNATS.
From: yamt%mwd.biglobe.ne.jp@localhost (YAMAMOTO Takashi)
Cc: kern-bug-people%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
Subject: Re: kern/44969: vmem_xalloc() don't search best-fit free segment in
spite of VMEM_BESTFIT
Date: Tue, 12 Jul 2011 00:17:02 +0000 (UTC)
> Though you call vmem_xalloc() with VM_BESTFIT(allocation strategy) , you
> find that vmem_xalloc() don't search best-fit free segment.
> VMEM_BESTFIT means that using the smallest free segment that can satisfy the
> allocation.But current implementation use the free segment which is found at
> first.(not search best-fit free segment)
it's an intended behaviour.
have you seen space efficiency problems due to this?
Main Index |
Thread Index |