search for: callect

Displaying 8 results from an estimated 8 matches for "callect".

Did you mean: call_ctx
2018 Jan 26
3
[PATCH v24 1/2] mm: support reporting free page blocks
...> the point is to drop these pages - keeping them near head of the list > > and reusing the reported ones will just make everything slower > > invalidating the hint. > > > > How about rotating these pages towards the end of the list? > > Probably not on each call, callect reported pages and then > > move them to tail when we exit. > > > I'm not sure how this would help. For example, we have a list of 2M free > page blocks: > A-->B-->C-->D-->E-->F-->G--H > > After reporting A and B, and put them to the end and exit,...
2018 Jan 26
3
[PATCH v24 1/2] mm: support reporting free page blocks
...> the point is to drop these pages - keeping them near head of the list > > and reusing the reported ones will just make everything slower > > invalidating the hint. > > > > How about rotating these pages towards the end of the list? > > Probably not on each call, callect reported pages and then > > move them to tail when we exit. > > > I'm not sure how this would help. For example, we have a list of 2M free > page blocks: > A-->B-->C-->D-->E-->F-->G--H > > After reporting A and B, and put them to the end and exit,...
2018 Jan 25
4
[PATCH v24 1/2] mm: support reporting free page blocks
...you are using it to report free page hints. Presumably the point is to drop these pages - keeping them near head of the list and reusing the reported ones will just make everything slower invalidating the hint. How about rotating these pages towards the end of the list? Probably not on each call, callect reported pages and then move them to tail when we exit. Of course it's possible not all reporters want this. So maybe change the callback to return int: 0 - page reported, move page to end of free list > 0 - page skipped, proceed < 0 - stop processing > + > +/** > + * walk_...
2018 Jan 25
4
[PATCH v24 1/2] mm: support reporting free page blocks
...you are using it to report free page hints. Presumably the point is to drop these pages - keeping them near head of the list and reusing the reported ones will just make everything slower invalidating the hint. How about rotating these pages towards the end of the list? Probably not on each call, callect reported pages and then move them to tail when we exit. Of course it's possible not all reporters want this. So maybe change the callback to return int: 0 - page reported, move page to end of free list > 0 - page skipped, proceed < 0 - stop processing > + > +/** > + * walk_...
2018 Jan 26
0
[PATCH v24 1/2] mm: support reporting free page blocks
...p these pages - keeping them near head of the list > > > and reusing the reported ones will just make everything slower > > > invalidating the hint. > > > > > > How about rotating these pages towards the end of the list? > > > Probably not on each call, callect reported pages and then > > > move them to tail when we exit. > > > > > > I'm not sure how this would help. For example, we have a list of 2M free > > page blocks: > > A-->B-->C-->D-->E-->F-->G--H > > > > After reporting A...
2018 Jan 25
0
[PATCH v24 1/2] mm: support reporting free page blocks
...ation. But as already discussed, if free pages are still in guest memory there is no point of traversing & getting all such pages again. [1] https://www.spinics.net/lists/kvm/msg159790.html > > How about rotating these pages towards the end of the list? > Probably not on each call, callect reported pages and then > move them to tail when we exit. > > Of course it's possible not all reporters want this. > So maybe change the callback to return int: > 0 - page reported, move page to end of free list > > 0 - page skipped, proceed > < 0 - stop processin...
2018 Jan 26
0
[PATCH v24 1/2] mm: support reporting free page blocks
...ree page hints. Presumably > the point is to drop these pages - keeping them near head of the list > and reusing the reported ones will just make everything slower > invalidating the hint. > > How about rotating these pages towards the end of the list? > Probably not on each call, callect reported pages and then > move them to tail when we exit. I'm not sure how this would help. For example, we have a list of 2M free page blocks: A-->B-->C-->D-->E-->F-->G--H After reporting A and B, and put them to the end and exit, when the caller comes back, 1) if the...
2018 Jan 24
4
[PATCH v24 0/2] 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_HINT, 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