[PATCH v7 kernel 1/5] virtio-balloon: rework deflate to add page to a list

2017-03-02 Thread Wei Wang
From: Liang Li When doing the inflating/deflating operation, the current virtio-balloon implementation uses an array to save 256 PFNS, then send these PFNS to host through virtio and process each PFN one by one. This way is not efficient when inflating/deflating a large

[PATCH v7 kernel 1/5] virtio-balloon: rework deflate to add page to a list

2017-03-02 Thread Wei Wang
From: Liang Li When doing the inflating/deflating operation, the current virtio-balloon implementation uses an array to save 256 PFNS, then send these PFNS to host through virtio and process each PFN one by one. This way is not efficient when inflating/deflating a large mount of memory because