Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

RSS fractions accounting

15 bytes added, 12:03, 24 January 2008
m
use source tags
In a C-like notation this would look like this:
<presource lang="C">
pb = lookup_pb(page, UB);
if (pb != NULL) {
list_add_tail(pb, page.pb_list);
page.pb_list.first = head.next;
</presource>
Shift increment essentially means “take one half of the currently held fraction and give it to the newbie”.