OpenVZ Forum


Home » Mailing lists » Devel » [PATCH] Priority heap infrastructure enhancements
Re: [PATCH] Priority heap infrastructure enhancements [message #31223 is a reply to message #31222] Sat, 21 June 2008 08:11 Go to previous messageGo to previous message
Paul Menage is currently offline  Paul Menage
Messages: 642
Registered: September 2006
Senior Member
On Sat, Jun 21, 2008 at 1:05 AM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
>
> I would like to be able to drop the smallest value. Since we cannot drop the
> smallest value, dropping a leaf (heap->size) should be sufficiently good enough.
> I want a max heap and losing the root of the heap does not work for me.
>

What are you actually trying to do? Can you get round this by just
inverting your "gt" operator? i.e. provide one that actually
implements "less-than"?

Paul
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Obtaining the latest kernel to test out the latest on the containers
Next Topic: [PATCH] cgroup: support checking of subsystem dependencies
Goto Forum:
  


Current Time: Fri Aug 01 09:43:13 GMT 2025

Total time taken to generate the page: 0.55985 seconds