search for: ___gfp_dma

Displaying 4 results from an estimated 4 matches for "___gfp_dma".

Did you mean: __gfp_dma
2018 Jan 18
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...gt; * require any memory allocations directly (not even GFP_NOWAIT/GFP_ATOMIC) > * or via any lock dependency. Yea, GFP_ATOMIC would do just as well. But I think any allocation on this path would be problematic. How about a flag to make all allocations fail? E.g. #define GFP_FORBIDDEN (___GFP_DMA | ___GFP_HIGHMEM) Still this is not a blocker, we can worry about this later. > > > >> + /* > >> + * This is expected to never fail, because there is always an > >> + * entry available on the vq. > >> + */ > >> + BUG_ON(err); > >&...
2018 Jan 18
0
[PATCH v22 2/3] virtio-balloon: VIRTIO_BALLOON_F_FREE_PAGE_VQ
...or via any lock dependency. > > > > Yea, GFP_ATOMIC would do just as well. But I think any allocation > > on this path would be problematic. > > > > How about a flag to make all allocations fail? > > > > E.g. > > > > #define GFP_FORBIDDEN (___GFP_DMA | ___GFP_HIGHMEM) > > > > Still this is not a blocker, we can worry about this later. > > > > > > > > > > > >> + /* > > > >> + * This is expected to never fail, because there is always an > > > >> + * entry av...
2018 Jan 17
8
[PATCH v22 0/3] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_VQ, implemented by this series enables the virtio-balloon driver to report hints of guest free pages to the host. It can be used to accelerate live migration of VMs. Here is an introduction of this usage: Live migration needs to transfer the VM's memory
2018 Jan 17
8
[PATCH v22 0/3] Virtio-balloon: support free page reporting
This patch series is separated from the previous "Virtio-balloon Enhancement" series. The new feature, VIRTIO_BALLOON_F_FREE_PAGE_VQ, implemented by this series enables the virtio-balloon driver to report hints of guest free pages to the host. It can be used to accelerate live migration of VMs. Here is an introduction of this usage: Live migration needs to transfer the VM's memory