Re: [patch net-next 1/4] net: introduce new priv_flag indicating iface capable of change mac when running

2012-06-28 Thread Jiri Pirko
Fri, Jun 29, 2012 at 12:17:34AM CEST, bhutchi...@solarflare.com wrote: >On Thu, 2012-06-28 at 16:10 +0200, Jiri Pirko wrote: >> Introduce IFF_LIFE_ADDR_CHANGE priv_flag and use it to disable >> netif_running() check in eth_mac_addr() >> >> Signed-off-by: Jiri Pirko >> --- >> include/linux/if.h |

Re: [PATCH v2 0/4] make balloon pages movable by compaction

2012-06-28 Thread Rusty Russell
On Thu, 28 Jun 2012 18:49:38 -0300, Rafael Aquini wrote: > This patchset follows the main idea discussed at 2012 LSFMMS section: > "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ > > to introduce the required changes to the virtio_balloon driver, as well as > changes to

Re: [PATCH v2 0/4] make balloon pages movable by compaction

2012-06-28 Thread Rafael Aquini
On Fri, Jun 29, 2012 at 10:37:12AM +0900, Minchan Kim wrote: > Hi Rafael, > > On 06/29/2012 06:49 AM, Rafael Aquini wrote: > > > This patchset follows the main idea discussed at 2012 LSFMMS section: > > "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ > > > Could you s

Re: [patch net-next 1/4] net: introduce new priv_flag indicating iface capable of change mac when running

2012-06-28 Thread Ben Hutchings
On Thu, 2012-06-28 at 16:10 +0200, Jiri Pirko wrote: > Introduce IFF_LIFE_ADDR_CHANGE priv_flag and use it to disable > netif_running() check in eth_mac_addr() > > Signed-off-by: Jiri Pirko > --- > include/linux/if.h |2 ++ > net/ethernet/eth.c |2 +- > 2 files changed, 3 insertions(+), 1

[PATCH v2 4/4] mm: add vm event counters for balloon pages compaction

2012-06-28 Thread Rafael Aquini
This patch is only for testing report purposes and shall be dropped in case of the rest of this patchset getting accepted for merging. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c |1 + include/linux/vm_event_item.h |2 ++ mm/compaction.c |1 + m

[PATCH v2 3/4] virtio_balloon: introduce migration primitives to balloon pages

2012-06-28 Thread Rafael Aquini
This patch makes balloon pages movable at allocation time and introduces the infrastructure needed to perform the balloon page migration operation. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c | 96 ++- include/linux/virtio_balloon.h |

[PATCH v2 0/4] make balloon pages movable by compaction

2012-06-28 Thread Rafael Aquini
This patchset follows the main idea discussed at 2012 LSFMMS section: "Ballooning for transparent huge pages" -- http://lwn.net/Articles/490114/ to introduce the required changes to the virtio_balloon driver, as well as changes to the core compaction & migration bits, in order to allow memory ball

[PATCH v2 1/4] mm: introduce compaction and migration for virtio ballooned pages

2012-06-28 Thread Rafael Aquini
This patch introduces the helper functions as well as the necessary changes to teach compaction and migration bits how to cope with pages which are part of a guest memory balloon, in order to make them movable by memory compaction procedures. Signed-off-by: Rafael Aquini --- include/linux/mm.h |

[PATCH v2 2/4] virtio_balloon: handle concurrent accesses to virtio_balloon struct elements

2012-06-28 Thread Rafael Aquini
This patch introduces access sychronization to critical elements of struct virtio_balloon, in order to allow the thread concurrency compaction/migration bits might ended up imposing to the balloon driver on several situations. Signed-off-by: Rafael Aquini --- drivers/virtio/virtio_balloon.c |

Re: [patch net-next 1/4] net: introduce new priv_flag indicating iface capable of change mac when running

2012-06-28 Thread Michael S. Tsirkin
On Thu, Jun 28, 2012 at 05:24:52PM +0200, Eric Dumazet wrote: > On Thu, 2012-06-28 at 16:10 +0200, Jiri Pirko wrote: > > Introduce IFF_LIFE_ADDR_CHANGE priv_flag and use it to disable > > netif_running() check in eth_mac_addr() > > > > Signed-off-by: Jiri Pirko > > --- > > include/linux/if.h |

Re: [patch net-next 2/4] virtio_net: use IFF_LIFE_ADDR_CHANGE priv_flag

2012-06-28 Thread Michael S. Tsirkin
On Thu, Jun 28, 2012 at 04:10:37PM +0200, Jiri Pirko wrote: > Signed-off-by: Jiri Pirko FWIW Acked-by: Michael S. Tsirkin > --- > drivers/net/virtio_net.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) > > diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.

eScience Conference submission extension - 18 July

2012-06-28 Thread Ioan Raicu
Due to numerous requests, we are extended the paper deadline, and dropping the abstract deadline completely: CALL FOR PAPERS 8th IEEE International Conference on eScience http://www.ci.uchicago.edu/escience2012/ October 8-12, 2012 Chicago, IL, USA Researchers in all disciplines are increasing

Re: [PATCH RFC V6 1/5] kvm hypervisor : Add a hypercall to KVM hypervisor to support pv-ticketlocks

2012-06-28 Thread Raghavendra K T
On 04/27/2012 09:23 PM, Gleb Natapov wrote: On Fri, Apr 27, 2012 at 04:15:35PM +0530, Raghavendra K T wrote: On 04/24/2012 03:29 PM, Gleb Natapov wrote: On Mon, Apr 23, 2012 at 03:29:47PM +0530, Raghavendra K T wrote: From: Srivatsa Vaddagiri KVM_HC_KICK_CPU allows the calling vcpu to kick an

Re: [patch net-next 0/4] net: introduce and use IFF_LIFE_ADDR_CHANGE

2012-06-28 Thread Jiri Pirko
Thu, Jun 28, 2012 at 05:15:07PM CEST, richardcoch...@gmail.com wrote: >On Thu, Jun 28, 2012 at 04:10:35PM +0200, Jiri Pirko wrote: >> three drivers updated, but this can be used in many others. >> >> Jiri Pirko (4): >> net: introduce new priv_flag indicating iface capable of change mac >> wh

Re: [patch net-next 1/4] net: introduce new priv_flag indicating iface capable of change mac when running

2012-06-28 Thread Eric Dumazet
On Thu, 2012-06-28 at 16:10 +0200, Jiri Pirko wrote: > Introduce IFF_LIFE_ADDR_CHANGE priv_flag and use it to disable > netif_running() check in eth_mac_addr() > > Signed-off-by: Jiri Pirko > --- > include/linux/if.h |2 ++ > net/ethernet/eth.c |2 +- > 2 files changed, 3 insertions(+),

[patch net-next 4/4] dummy: use IFF_LIFE_ADDR_CHANGE priv_flag

2012-06-28 Thread Jiri Pirko
Signed-off-by: Jiri Pirko --- drivers/net/dummy.c | 15 ++- 1 file changed, 2 insertions(+), 13 deletions(-) diff --git a/drivers/net/dummy.c b/drivers/net/dummy.c index bab0158..0352246 100644 --- a/drivers/net/dummy.c +++ b/drivers/net/dummy.c @@ -40,18 +40,6 @@ static int num

[patch net-next 3/4] team: use IFF_LIFE_ADDR_CHANGE priv_flag

2012-06-28 Thread Jiri Pirko
Signed-off-by: Jiri Pirko --- drivers/net/team/team.c |9 + 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/drivers/net/team/team.c b/drivers/net/team/team.c index 5350eea..019d658 100644 --- a/drivers/net/team/team.c +++ b/drivers/net/team/team.c @@ -1188,10 +1188,11 @@

[patch net-next 2/4] virtio_net: use IFF_LIFE_ADDR_CHANGE priv_flag

2012-06-28 Thread Jiri Pirko
Signed-off-by: Jiri Pirko --- drivers/net/virtio_net.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/net/virtio_net.c b/drivers/net/virtio_net.c index 36a16d5..6a0f526 100644 --- a/drivers/net/virtio_net.c +++ b/drivers/net/virtio_net.c @@ -679,12 +679,

[patch net-next 0/4] net: introduce and use IFF_LIFE_ADDR_CHANGE

2012-06-28 Thread Jiri Pirko
three drivers updated, but this can be used in many others. Jiri Pirko (4): net: introduce new priv_flag indicating iface capable of change mac when running virtio_net: use IFF_LIFE_ADDR_CHANGE priv_flag team: use IFF_LIFE_ADDR_CHANGE priv_flag dummy: use IFF_LIFE_ADDR_CHANGE priv_flag

[patch net-next 1/4] net: introduce new priv_flag indicating iface capable of change mac when running

2012-06-28 Thread Jiri Pirko
Introduce IFF_LIFE_ADDR_CHANGE priv_flag and use it to disable netif_running() check in eth_mac_addr() Signed-off-by: Jiri Pirko --- include/linux/if.h |2 ++ net/ethernet/eth.c |2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/include/linux/if.h b/include/linux/if.h i

Re: [patch net-next] virtio_net: allow to change mac when iface is running

2012-06-28 Thread David Miller
From: Jiri Pirko Date: Thu, 28 Jun 2012 08:35:25 +0200 > Thu, Jun 28, 2012 at 06:30:46AM CEST, da...@davemloft.net wrote: >>It therefore probably makes sense to add a boolean arg which when true >>elides the netif_running() check then fixup and audit every caller. > > I was thinking about this.