On (06/18/15 21:13), Sergey Senozhatsky wrote: > @@ -645,10 +645,11 @@ static void insert_zspage(struct page *page, struct size_class *class, > * We want to see more ZS_FULL pages and less almost > * empty/full. Put pages with higher ->inuse first. > */ > - if (page->inuse < (*head)->inuse) > - list_add_tail(&page->lru, &(*head)->lru); > - else > + if (fullness == ZS_ALMOST_FULL || > + (page->inuse >= (*head)->inuse)) > list_add(&page->lru, &(*head)->lru); > + else > + list_add_tail(&page->lru, &(*head)->lru); > } > > *head = page; oh, dear. what I was thinking of. this is just stupid. please ignore this part. -ss -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>