[PATCH v3 1/3] virtio-balloon: tweak config_changed implementation

2019-01-06 Thread Wei Wang
virtio-ccw has deadlock issues with reading the config space inside the interrupt context, so we tweak the virtballoon_changed implementation by moving the config read operations into the related workqueue contexts. The config_read_bitmap is used as a flag to the workqueue callbacks about the

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Dan Williams
On Sun, Jan 6, 2019 at 8:17 PM Michael S. Tsirkin wrote: > > On Mon, Jan 07, 2019 at 11:53:41AM +0800, Jason Wang wrote: > > > > On 2019/1/7 上午11:28, Michael S. Tsirkin wrote: > > > On Mon, Jan 07, 2019 at 10:19:03AM +0800, Jason Wang wrote: > > > > On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: >

Re: [RFC PATCH V3 1/5] vhost: generalize adding used elem

2019-01-06 Thread Jason Wang
On 2019/1/5 上午8:33, Sean Christopherson wrote: On Fri, Jan 04, 2019 at 04:29:34PM -0500, Michael S. Tsirkin wrote: On Sat, Dec 29, 2018 at 08:46:52PM +0800, Jason Wang wrote: Use one generic vhost_copy_to_user() instead of two dedicated accessor. This will simplify the conversion to fine

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Jason Wang
On 2019/1/5 上午5:41, Michael S. Tsirkin wrote: On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote: This series tries to access virtqueue metadata through kernel virtual address instead of copy_user() friends since they had too much overheads like checks, spec barriers or even hardware

Re: [PATCH RFC 3/4] barriers: convert a control to a data dependency

2019-01-06 Thread Jason Wang
On 2019/1/7 下午12:23, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 11:58:23AM +0800, Jason Wang wrote: On 2019/1/3 上午4:57, Michael S. Tsirkin wrote: It's not uncommon to have two access two unrelated memory locations in a specific order. At the moment one has to use a memory barrier for

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Jason Wang
On 2019/1/7 下午12:17, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 11:53:41AM +0800, Jason Wang wrote: On 2019/1/7 上午11:28, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 10:19:03AM +0800, Jason Wang wrote: On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: On Sat, Dec 29, 2018 at

Re: [PATCH RFC 1/2] virtio-net: bql support

2019-01-06 Thread Jason Wang
On 2019/1/7 下午12:01, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 11:51:55AM +0800, Jason Wang wrote: On 2019/1/7 上午11:17, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 10:14:37AM +0800, Jason Wang wrote: On 2019/1/2 下午9:59, Michael S. Tsirkin wrote: On Wed, Jan 02, 2019 at

Re: [PATCH RFC 3/4] barriers: convert a control to a data dependency

2019-01-06 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 11:58:23AM +0800, Jason Wang wrote: > > On 2019/1/3 上午4:57, Michael S. Tsirkin wrote: > > It's not uncommon to have two access two unrelated memory locations in a > > specific order. At the moment one has to use a memory barrier for this. > > > > However, if the first

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 11:53:41AM +0800, Jason Wang wrote: > > On 2019/1/7 上午11:28, Michael S. Tsirkin wrote: > > On Mon, Jan 07, 2019 at 10:19:03AM +0800, Jason Wang wrote: > > > On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: > > > > On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote: >

Re: [PATCH RFC 1/2] virtio-net: bql support

2019-01-06 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 11:51:55AM +0800, Jason Wang wrote: > > On 2019/1/7 上午11:17, Michael S. Tsirkin wrote: > > On Mon, Jan 07, 2019 at 10:14:37AM +0800, Jason Wang wrote: > > > On 2019/1/2 下午9:59, Michael S. Tsirkin wrote: > > > > On Wed, Jan 02, 2019 at 11:28:43AM +0800, Jason Wang wrote: >

Re: [PATCH RFC 3/4] barriers: convert a control to a data dependency

2019-01-06 Thread Jason Wang
On 2019/1/3 上午4:57, Michael S. Tsirkin wrote: It's not uncommon to have two access two unrelated memory locations in a specific order. At the moment one has to use a memory barrier for this. However, if the first access was a read and the second used an address depending on the first one we

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Jason Wang
On 2019/1/7 上午11:28, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 10:19:03AM +0800, Jason Wang wrote: On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote: This series tries to access virtqueue metadata through kernel virtual address

Re: [PATCH RFC 1/2] virtio-net: bql support

2019-01-06 Thread Jason Wang
On 2019/1/7 上午11:17, Michael S. Tsirkin wrote: On Mon, Jan 07, 2019 at 10:14:37AM +0800, Jason Wang wrote: On 2019/1/2 下午9:59, Michael S. Tsirkin wrote: On Wed, Jan 02, 2019 at 11:28:43AM +0800, Jason Wang wrote: On 2018/12/31 上午2:45, Michael S. Tsirkin wrote: On Thu, Dec 27, 2018 at

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 10:19:03AM +0800, Jason Wang wrote: > > On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: > > On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote: > > > This series tries to access virtqueue metadata through kernel virtual > > > address instead of copy_user() friends

Re: [PATCH RFC 1/2] virtio-net: bql support

2019-01-06 Thread Michael S. Tsirkin
On Mon, Jan 07, 2019 at 10:14:37AM +0800, Jason Wang wrote: > > On 2019/1/2 下午9:59, Michael S. Tsirkin wrote: > > On Wed, Jan 02, 2019 at 11:28:43AM +0800, Jason Wang wrote: > > > On 2018/12/31 上午2:45, Michael S. Tsirkin wrote: > > > > On Thu, Dec 27, 2018 at 06:00:36PM +0800, Jason Wang wrote: >

Re: [RFC PATCH V3 0/5] Hi:

2019-01-06 Thread Jason Wang
On 2019/1/3 上午4:47, Michael S. Tsirkin wrote: On Sat, Dec 29, 2018 at 08:46:51PM +0800, Jason Wang wrote: This series tries to access virtqueue metadata through kernel virtual address instead of copy_user() friends since they had too much overheads like checks, spec barriers or even hardware

Re: [PATCH RFC 1/2] virtio-net: bql support

2019-01-06 Thread Jason Wang
On 2019/1/2 下午9:59, Michael S. Tsirkin wrote: On Wed, Jan 02, 2019 at 11:28:43AM +0800, Jason Wang wrote: On 2018/12/31 上午2:45, Michael S. Tsirkin wrote: On Thu, Dec 27, 2018 at 06:00:36PM +0800, Jason Wang wrote: On 2018/12/26 下午11:19, Michael S. Tsirkin wrote: On Thu, Dec 06, 2018 at

CISTI'2019 - Doctoral Symposium | Coimbra, Portugal

2019-01-06 Thread Maria Lemos
* Published in IEEE Xplore and indexed by ISI, Scopus, etc. --- Doctoral Symposium of CISTI'2019 - 14th Iberian Conference on Information Systems and Technologies