Re: [virtio-dev] Re: [PATCH v11 6/6] virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ

2017-06-20 Thread Wei Wang
On 06/21/2017 12:18 AM, Michael S. Tsirkin wrote: On Fri, Jun 09, 2017 at 06:41:41PM +0800, Wei Wang wrote: - if (!virtqueue_indirect_desc_table_add(vq, desc, num)) { + if (!virtqueue_indirect_desc_table_add(vq, desc, *num)) { virtqueue_kick(vq); -

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Rik van Riel
On Tue, 2017-06-20 at 21:26 +0300, Michael S. Tsirkin wrote: > On Tue, Jun 20, 2017 at 01:29:00PM -0400, Rik van Riel wrote: > > I agree with that.  Let me go into some more detail of > > what Nitesh is implementing: > > > > 1) In arch_free_page, the being-freed page is added > >    to a per-cpu

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread David Hildenbrand
>> IMHO even simply writing all-zeros to all free pages before starting >> migration (or even when freeing a page) would be a cleaner interface >> than this (because it atomically works with the entity the host cares >> about for migration). But yes, performance is horrible that's why I am >> not

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Michael S. Tsirkin
On Tue, Jun 20, 2017 at 08:54:29PM +0200, David Hildenbrand wrote: > On 20.06.2017 20:17, Michael S. Tsirkin wrote: > > On Tue, Jun 20, 2017 at 06:49:33PM +0200, David Hildenbrand wrote: > >> On 20.06.2017 18:44, Rik van Riel wrote: > >>> On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > >>>

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread David Hildenbrand
On 20.06.2017 20:17, Michael S. Tsirkin wrote: > On Tue, Jun 20, 2017 at 06:49:33PM +0200, David Hildenbrand wrote: >> On 20.06.2017 18:44, Rik van Riel wrote: >>> On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: >>> The hypervisor is going to throw away the contents of these pages,

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Michael S. Tsirkin
On Tue, Jun 20, 2017 at 06:49:33PM +0200, David Hildenbrand wrote: > On 20.06.2017 18:44, Rik van Riel wrote: > > On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > > > >> The hypervisor is going to throw away the contents of these pages, > >> right? As soon as the spinlock is released,

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Michael S. Tsirkin
On Tue, Jun 20, 2017 at 01:29:00PM -0400, Rik van Riel wrote: > On Tue, 2017-06-20 at 18:49 +0200, David Hildenbrand wrote: > > On 20.06.2017 18:44, Rik van Riel wrote: > > > > Nitesh Lal (on the CC list) is working on a way > > > to efficiently batch recently freed pages for > > > free page

CFP CLOSER 2018 - 8th Int.l Conf. on Cloud Computing and Services Science (Funchal, Madeira/Portugal)

2017-06-20 Thread clo...@insticc.info
SUBMISSION DEADLINE 8th International Conference on Cloud Computing and Services Science Submission Deadline: October 16, 2017 http://closer.scitevents.org/ March 19 - 21, 2018 Funchal, Madeira, Portugal. CLOSER is organized in 9 major tracks: - Services Science - Data as a Service -

CFP IoTBDS 2018 - 3rd Int.l Conf. on Internet of Things, Big Data and Security (Funchal, Madeira/Portugal)

2017-06-20 Thread iot...@insticc.info
SUBMISSION DEADLINE 3rd International Conference on Internet of Things, Big Data and Security Submission Deadline: October 16, 2017 http://iotbds.org/ March 19 - 21, 2018 Funchal, Madeira, Portugal. IoTBDS is organized in 7 major tracks: - Big Data Research - Emerging Services and

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Rik van Riel
On Tue, 2017-06-20 at 18:49 +0200, David Hildenbrand wrote: > On 20.06.2017 18:44, Rik van Riel wrote: > > Nitesh Lal (on the CC list) is working on a way > > to efficiently batch recently freed pages for > > free page hinting to the hypervisor. > > > > If that is done efficiently enough (eg.

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread David Hildenbrand
On 20.06.2017 18:44, Rik van Riel wrote: > On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > >> The hypervisor is going to throw away the contents of these pages, >> right? As soon as the spinlock is released, someone can allocate a >> page, and put good data in it. What keeps the

Re: [PATCH v11 4/6] mm: function to offer a page block on the free list

2017-06-20 Thread Rik van Riel
On Mon, 2017-06-12 at 07:10 -0700, Dave Hansen wrote: > The hypervisor is going to throw away the contents of these pages, > right?  As soon as the spinlock is released, someone can allocate a > page, and put good data in it.  What keeps the hypervisor from > throwing > away good data? That

Re: [PATCH v11 6/6] virtio-balloon: VIRTIO_BALLOON_F_CMD_VQ

2017-06-20 Thread Michael S. Tsirkin
On Fri, Jun 09, 2017 at 06:41:41PM +0800, Wei Wang wrote: > - if (!virtqueue_indirect_desc_table_add(vq, desc, num)) { > + if (!virtqueue_indirect_desc_table_add(vq, desc, *num)) { > virtqueue_kick(vq); > - wait_event(vb->acked, virtqueue_get_buf(vq, )); > -

CFP ICEIS 2018 - 20th Int.l Conf. on Enterprise Information Systems (Funchal, Madeira/Portugal)

2017-06-20 Thread ic...@insticc.info
SUBMISSION DEADLINE 20th International Conference on Enterprise Information Systems Submission Deadline: October 18, 2017 http://www.iceis.org/ March 21 - 24, 2018 Funchal, Madeira, Portugal. ICEIS is organized in 6 major tracks: - Databases and Information Systems Integration -

CFP VEHITS 2018 - 4th Int.l Conf. on Vehicle Technology and Intelligent Transport Systems (Funchal, Madeira/Portugal)

2017-06-20 Thread veh...@insticc.info
SUBMISSION DEADLINE 4th International Conference on Vehicle Technology and Intelligent Transport Systems Submission Deadline: October 16, 2017 http://www.vehits.org/ March 16 - 18, 2018 Funchal, Madeira, Portugal. VEHITS is organized in 5 major tracks: - Intelligent Vehicle Technologies

CFP SMARTGREENS 2018 - 7th Int.l Conf. on Smart Cities and Green ICT Systems (Funchal, Madeira/Portugal)

2017-06-20 Thread smartgre...@insticc.info
SUBMISSION DEADLINE 7th International Conference on Smart Cities and Green ICT Systems Submission Deadline: October 16, 2017 http://www.smartgreens.org/ March 16 - 18, 2018 Funchal, Madeira, Portugal. SMARTGREENS is organized in 4 major tracks: - Energy-Aware Systems and Technologies -