Re: [PATCH v11 3/6] virtio-balloon: VIRTIO_BALLOON_F_PAGE_CHUNKS From: Dave Hansen <hidden> Date: 2017-06-13 17:59:07 On 06/13/2017 10:56 AM, Michael S. Tsirkin wrote:quoted+/* The size of one page_bmap used to record inflated/deflated pages. */ +#define VIRTIO_BALLOON_PAGE_BMAP_SIZE (8 * PAGE_SIZE)At this size, you probably want alloc_pages to avoid kmalloc overhead. For slub, at least, kmalloc() just calls alloc_pages() basically directly. There's virtually no overhead.
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help