[tip:perf/urgent] perf/x86/intel: Honour the CPUID for number of fixed counters in hypervisors

2016-10-28 Thread tip-bot for Imre Palik
Commit-ID: f92b7604149a55cb601fc0b52911b1e11f0f2514 Gitweb: http://git.kernel.org/tip/f92b7604149a55cb601fc0b52911b1e11f0f2514 Author: Imre Palik <im...@amazon.de> AuthorDate: Fri, 21 Oct 2016 01:18:59 -0700 Committer: Ingo Molnar <mi...@kernel.org> CommitDate: Fri, 28 Oct 2

[tip:perf/urgent] perf/x86/intel: Honour the CPUID for number of fixed counters in hypervisors

2016-10-28 Thread tip-bot for Imre Palik
Commit-ID: f92b7604149a55cb601fc0b52911b1e11f0f2514 Gitweb: http://git.kernel.org/tip/f92b7604149a55cb601fc0b52911b1e11f0f2514 Author: Imre Palik AuthorDate: Fri, 21 Oct 2016 01:18:59 -0700 Committer: Ingo Molnar CommitDate: Fri, 28 Oct 2016 11:06:25 +0200 perf/x86/intel: Honour

[RFC PATCH v2] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-21 Thread Imre Palik
From: Imre Palik <im...@amazon.de> perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/se

[RFC PATCH v2] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-21 Thread Imre Palik
From: Imre Palik perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/set them. This patch makes perf

[RFC PATCH] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-13 Thread Imre Palik
From: Imre Palik <im...@amazon.de> perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/se

[RFC PATCH] perf: honouring the cpuid for number of fixed counters in hypervisors

2016-10-13 Thread Imre Palik
From: Imre Palik perf doesn't seem to honour the number of fixed counters specified by cpuid leaf 0xa. It always assume that Intel CPUs have at least 3 fixed counters. So if some of the fixed counters are masked out by the hypervisor, it still tries to check/set them. This patch makes perf

[PATCH] xen-netback: fix a BUG() during initialization

2015-06-19 Thread Imre Palik
hes. This behaviour is in line with how connect() deals with the hotplug-status watch. Signed-off-by: Imre Palik Cc: Matt Wilson --- drivers/net/xen-netback/xenbus.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c in

[PATCH] xen-netback: fix a BUG() during initialization

2015-06-19 Thread Imre Palik
. This behaviour is in line with how connect() deals with the hotplug-status watch. Signed-off-by: Imre Palik im...@amazon.de Cc: Matt Wilson m...@amazon.com --- drivers/net/xen-netback/xenbus.c |4 1 file changed, 4 insertions(+) diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen

Re: [PATCH v3] perf: honoring the architectural performance monitoring version

2015-06-18 Thread Imre Palik
On 06/16/15 11:21, Peter Zijlstra wrote: > On Mon, Jun 15, 2015 at 04:22:32PM +0200, Imre Palik wrote: >> From: "Palik, Imre" >> >> Architectural performance monitoring version 1 doesn't support fixed >> counters. Currently, even if a hypervisor ad

Re: [PATCH v3] perf: honoring the architectural performance monitoring version

2015-06-18 Thread Imre Palik
On 06/16/15 11:21, Peter Zijlstra wrote: On Mon, Jun 15, 2015 at 04:22:32PM +0200, Imre Palik wrote: From: Palik, Imre im...@amazon.de Architectural performance monitoring version 1 doesn't support fixed counters. Currently, even if a hypervisor advertises support for architectural

[PATCH v3] perf: honoring the architectural performance monitoring version

2015-06-15 Thread Imre Palik
t up based on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik Cc: Anthony Liguori

[PATCH v3] perf: honoring the architectural performance monitoring version

2015-06-15 Thread Imre Palik
based on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik im...@amazon.de Cc

[PATCH v2] perf: honoring the architectural performance monitoring version

2015-06-08 Thread Imre Palik
on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik Cc: Anthony Liguori

[PATCH v2] perf: honoring the architectural performance monitoring version

2015-06-08 Thread Imre Palik
based on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik im...@amazon.de Cc

[PATCH v2] perf: honoring the architectural performance monitoring version

2015-06-05 Thread Imre Palik
t up based on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik Cc: Anthony Liguori

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-05 Thread Imre Palik
On 06/04/15 15:29, Peter Zijlstra wrote: > On Thu, Jun 04, 2015 at 02:30:37PM +0200, Imre Palik wrote: >> The trouble is that the number of fixed counters is not taken into >> account when scheduling the events, and the cpu model based event >> constraints will favour fix

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-05 Thread Imre Palik
On 06/04/15 15:29, Peter Zijlstra wrote: On Thu, Jun 04, 2015 at 02:30:37PM +0200, Imre Palik wrote: The trouble is that the number of fixed counters is not taken into account when scheduling the events, and the cpu model based event constraints will favour fixed counters. So perf tries

[PATCH v2] perf: honoring the architectural performance monitoring version

2015-06-05 Thread Imre Palik
based on the CPU model. This patch ensures that perf honors the architectural performance monitoring version returned by CPUID, and it only uses the fixed counters for version two and above. Some of the ideas in this patch are coming from Peter Zijlstra. Signed-off-by: Imre Palik im...@amazon.de Cc

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-04 Thread Imre Palik
On 06/04/15 13:49, Peter Zijlstra wrote: > On Thu, Jun 04, 2015 at 12:35:08PM +0200, Imre Palik wrote: >> On 06/03/15 10:36, Peter Zijlstra wrote: >>> Further, the Intel Arch PerfMon v2 spec actually specifies there to be 3 >>> fixed function counters. >>>

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-04 Thread Imre Palik
On 06/03/15 10:36, Peter Zijlstra wrote: > On Wed, Jun 03, 2015 at 10:03:48AM +0200, Imre Palik wrote: >> From: "Palik, Imre" >> >> perf doesn't seem to honor the number of fixed counters specified by cpuid >> leaf 0xa. It always assume that intel CPUs hav

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-04 Thread Imre Palik
On 06/03/15 10:36, Peter Zijlstra wrote: On Wed, Jun 03, 2015 at 10:03:48AM +0200, Imre Palik wrote: From: Palik, Imre im...@amazon.de perf doesn't seem to honor the number of fixed counters specified by cpuid leaf 0xa. It always assume that intel CPUs have at least 3 fixed counters. So

Re: [RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-04 Thread Imre Palik
On 06/04/15 13:49, Peter Zijlstra wrote: On Thu, Jun 04, 2015 at 12:35:08PM +0200, Imre Palik wrote: On 06/03/15 10:36, Peter Zijlstra wrote: Further, the Intel Arch PerfMon v2 spec actually specifies there to be 3 fixed function counters. So anything that says it is v2+ and does not have

[RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-03 Thread Imre Palik
is is good for testing the masking code in the hypervisor, but not so nice otherwise. This patch makes perf pehave somewhat nicer when the number of fixed counters is less than three. Signed-off-by: Imre Palik Cc: Anthony Liguori --- arch/x86/kernel/cpu/perf_event.c |2 ++ arch/x86/

[RFC PATCH] perf: honoring cpuid for number of fixed counters

2015-06-03 Thread Imre Palik
. This is good for testing the masking code in the hypervisor, but not so nice otherwise. This patch makes perf pehave somewhat nicer when the number of fixed counters is less than three. Signed-off-by: Imre Palik im...@amazon.de Cc: Anthony Liguori aligu...@amazon.com --- arch/x86/kernel/cpu/perf_event.c

[PATCH v2] xen-netback: making the bandwidth limiter runtime settable

2015-03-19 Thread Imre Palik
the change. Cc: Anthony Liguori Signed-off-by: Imre Palik --- drivers/net/xen-netback/common.h|4 +++ drivers/net/xen-netback/interface.c |1 + drivers/net/xen-netback/netback.c |4 +-- drivers/net/xen-netback/xenbus.c| 57 +++ 4 files c

[PATCH v2] xen-netback: making the bandwidth limiter runtime settable

2015-03-19 Thread Imre Palik
the change. Cc: Anthony Liguori aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/net/xen-netback/common.h|4 +++ drivers/net/xen-netback/interface.c |1 + drivers/net/xen-netback/netback.c |4 +-- drivers/net/xen-netback/xenbus.c| 57

Re: [RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-18 Thread Imre Palik
On 03/17/15 12:17, Wei Liu wrote: > On Fri, Mar 13, 2015 at 01:51:05PM +0100, Imre Palik wrote: >> From: "Palik, Imre" >> >> With the current netback, the bandwidth limiter's parameters are only >> settable during vif setup time. This patch register a

Re: [RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-18 Thread Imre Palik
On 03/17/15 12:17, Wei Liu wrote: On Fri, Mar 13, 2015 at 01:51:05PM +0100, Imre Palik wrote: From: Palik, Imre im...@amazon.de With the current netback, the bandwidth limiter's parameters are only settable during vif setup time. This patch register a watch on them, and thus makes them

[RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-13 Thread Imre Palik
the change. Cc: Anthony Liguori Signed-off-by: Imre Palik --- drivers/net/xen-netback/common.h|4 ++ drivers/net/xen-netback/interface.c |1 + drivers/net/xen-netback/netback.c |4 +- drivers/net/xen-netback/xenbus.c| 73 +++ 4 files c

[RFC PATCH] xen-netback: making the bandwidth limiter runtime settable

2015-03-13 Thread Imre Palik
the change. Cc: Anthony Liguori aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/net/xen-netback/common.h|4 ++ drivers/net/xen-netback/interface.c |1 + drivers/net/xen-netback/netback.c |4 +- drivers/net/xen-netback/xenbus.c| 73

Re: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-03-06 Thread Imre Palik
On 02/26/15 17:34, David Miller wrote: > From: Imre Palik > Date: Thu, 26 Feb 2015 11:19:25 +0100 > >> If you are looking for peculiarities in my setup then here they are: >> I am on 4k pages, and perf is not working :-( >> (I am trying to fix those too, but that is f

Re: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-03-06 Thread Imre Palik
On 02/26/15 17:34, David Miller wrote: From: Imre Palik im...@amazon.de Date: Thu, 26 Feb 2015 11:19:25 +0100 If you are looking for peculiarities in my setup then here they are: I am on 4k pages, and perf is not working :-( (I am trying to fix those too, but that is far from being a low

Re: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-02-26 Thread Imre Palik
On 02/23/15 17:06, Florian Westphal wrote: > Imre Palik wrote: >> The netfilter code is made with flexibility instead of performance in mind. >> So when all we want is to pass packets between different interfaces, the >> performance penalty of hitting netfilter code can be co

Re: [RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-02-26 Thread Imre Palik
On 02/23/15 17:06, Florian Westphal wrote: Imre Palik imrep@gmail.com wrote: The netfilter code is made with flexibility instead of performance in mind. So when all we want is to pass packets between different interfaces, the performance penalty of hitting netfilter code can

[RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-02-23 Thread Imre Palik
the bridge. This change makes it possible to disable netfilter on a per bridge basis. In the case interesting to us, this can lead to more than 15% speedup compared to the case when only bridge-iptables is disabled. Cc: Anthony Liguori Signed-off-by: Imre Palik --- net/bridge/br_device.c |

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-23 Thread Imre Palik
On 02/13/15 20:03, Florian Westphal wrote: > Imre Palik wrote: >> The trouble is that there are some bridges (with low traffic) where I need >> netfilter, and some other bridges (carrying lots of traffic), where I don't. >> Being able to set things up on a per bridge basi

[RFC PATCH v2] bridge: make it possible for packets to traverse the bridge without hitting netfilter

2015-02-23 Thread Imre Palik
for the bridge. This change makes it possible to disable netfilter on a per bridge basis. In the case interesting to us, this can lead to more than 15% speedup compared to the case when only bridge-iptables is disabled. Cc: Anthony Liguori aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-23 Thread Imre Palik
On 02/13/15 20:03, Florian Westphal wrote: Imre Palik imrep@gmail.com wrote: The trouble is that there are some bridges (with low traffic) where I need netfilter, and some other bridges (carrying lots of traffic), where I don't. Being able to set things up on a per bridge basis

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-13 Thread Imre Palik
On 02/13/15 17:37, Florian Westphal wrote: > Imre Palik wrote: >> On 02/11/15 23:29, David Miller wrote: >>> If I apply this, someone is going to try to submit a patch for every >>> damn protocol layer to add a stupid hack like this. >> >> Actually this is

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-13 Thread Imre Palik
On 02/11/15 23:29, David Miller wrote: > From: Imre Palik > Date: Tue, 10 Feb 2015 10:32:24 +0100 > >> From: "Palik, Imre" >> >> The netfilter code is made with flexibility instead of performance in mind. >> So when all we want is to pass packets betwe

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-13 Thread Imre Palik
On 02/11/15 23:29, David Miller wrote: From: Imre Palik imrep@gmail.com Date: Tue, 10 Feb 2015 10:32:24 +0100 From: Palik, Imre im...@amazon.de The netfilter code is made with flexibility instead of performance in mind. So when all we want is to pass packets between different

Re: [PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-13 Thread Imre Palik
On 02/13/15 17:37, Florian Westphal wrote: Imre Palik imrep@gmail.com wrote: On 02/11/15 23:29, David Miller wrote: If I apply this, someone is going to try to submit a patch for every damn protocol layer to add a stupid hack like this. Actually this is one of those patches

[PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-10 Thread Imre Palik
the bridge. This change makes it possible to disable netfilter both on a per bridge basis, or for the whole bridging subsystem. In the case interesting to us, this can lead to more than 10% speedup compared to the case when only bridge-iptables are disabled. Cc: Anthony Liguori Signed-off-by:

[PATCH] bridge: make it possible for packets to traverse the bridge withour hitting netfilter

2015-02-10 Thread Imre Palik
Signed-off-by: Imre Palik im...@amazon.de --- net/bridge/br_forward.c |3 +-- net/bridge/br_input.c |3 +-- net/bridge/br_netfilter.c | 48 + net/bridge/br_private.h |9 + net/bridge/br_sysfs_br.c | 23

[RFC PATCH v4] audit: move the tree pruning to a dedicated thread

2015-01-30 Thread Imre Palik
gle thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson Cc: Matt Wilson Signed-off-by: Imre Palik --- kernel/audit_tree.c | 88 +++ 1 file c

[RFC PATCH v4] audit: move the tree pruning to a dedicated thread

2015-01-30 Thread Imre Palik
a single thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 88

[RFC PATCH v3] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
gle thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson Cc: Matt Wilson Signed-off-by: Imre Palik --- kernel/audit_tree.c | 86 ++- 1 file c

Re: [PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
On 01/13/15 02:47, Paul Moore wrote: > On Monday, January 12, 2015 09:11:21 AM Imre Palik wrote: >> On 01/08/15 22:53, Paul Moore wrote: >>> On Tuesday, January 06, 2015 03:51:20 PM Imre Palik wrote: >>>> From: "Palik, Imre" >>>> >>>&

Re: [PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
On 01/13/15 02:47, Paul Moore wrote: On Monday, January 12, 2015 09:11:21 AM Imre Palik wrote: On 01/08/15 22:53, Paul Moore wrote: On Tuesday, January 06, 2015 03:51:20 PM Imre Palik wrote: From: Palik, Imre im...@amazon.de When file auditing is enabled, during a low memory situation

[RFC PATCH v3] audit: move the tree pruning to a dedicated thread

2015-01-15 Thread Imre Palik
a single thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 86

[PATCH] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-13 Thread Imre Palik
urce, thus it should have higher rating. This patch decreases the rating of the Xen clocksource in Dom0s to 275. Which is half-way between the rating of the TSC clocksource (300) and the hpet clocksource (250). Cc: Anthony Liguori Signed-off-by: Imre Palik --- arch/x86/xen/time.c |4 1 file

[PATCH] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-13 Thread Imre Palik
clocksource, thus it should have higher rating. This patch decreases the rating of the Xen clocksource in Dom0s to 275. Which is half-way between the rating of the TSC clocksource (300) and the hpet clocksource (250). Cc: Anthony Liguori aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de

Re: [PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-12 Thread Imre Palik
On 01/08/15 22:53, Paul Moore wrote: > On Tuesday, January 06, 2015 03:51:20 PM Imre Palik wrote: >> From: "Palik, Imre" >> >> When file auditing is enabled, during a low memory situation, a memory >> allocation with __GFP_FS can lead to pruning the ino

Re: [PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-12 Thread Imre Palik
On 01/08/15 22:53, Paul Moore wrote: On Tuesday, January 06, 2015 03:51:20 PM Imre Palik wrote: From: Palik, Imre im...@amazon.de When file auditing is enabled, during a low memory situation, a memory allocation with __GFP_FS can lead to pruning the inode cache. Which can, in turn lead

Re: [Xen-devel] [PATCH RFC] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-08 Thread Imre Palik
On 01/07/15 17:30, Ian Campbell wrote: > On Wed, 2015-01-07 at 17:16 +0100, Imre Palik wrote: >> From: "Palik, Imre" >> >> In Dom0's the use of the TSC clocksource (whenever it is stable enough to >> be used) instead of the Xen clocksource should not cause

Re: [Xen-devel] [PATCH RFC] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-08 Thread Imre Palik
On 01/07/15 17:30, Ian Campbell wrote: On Wed, 2015-01-07 at 17:16 +0100, Imre Palik wrote: From: Palik, Imre im...@amazon.de In Dom0's the use of the TSC clocksource (whenever it is stable enough to be used) instead of the Xen clocksource should not cause any issues, as Dom0 VMs never live

[PATCH RFC] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-07 Thread Imre Palik
urce, thus it should have higher rating. Cc: Anthony Liguori Signed-off-by: Imre Palik --- arch/x86/xen/time.c |4 1 file changed, 4 insertions(+) diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index f473d26..c768726 100644 --- a/arch/x86/xen/time.c +++ b/arch/x86/xen/time.c @@ -487

[PATCH RFC] xen-time: decreasing the rating of the xen clocksource below that of the tsc clocksource for dom0's

2015-01-07 Thread Imre Palik
clocksource, thus it should have higher rating. Cc: Anthony Liguori aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- arch/x86/xen/time.c |4 1 file changed, 4 insertions(+) diff --git a/arch/x86/xen/time.c b/arch/x86/xen/time.c index f473d26..c768726 100644 --- a/arch/x86/xen

[PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread Imre Palik
Liguori Signed-off-by: Imre Palik --- drivers/net/xen-netback/xenbus.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index efbaf2a..794204e 100644 --- a/drivers/net/xen-netback/xenbus.c +++ b/drivers/net/xen-netback/xenbu

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-06 Thread Imre Palik
gle thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson Cc: Matt Wilson Signed-off-by: Imre Palik --- kernel/audit_tree.c | 91 +++ 1 file c

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2015-01-06 Thread Imre Palik
a single thread for pruning the tree from audit_add_tree_rule(), and thus avoids the deadlock that the on-demand thread creation can cause. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 91

[PATCH] xen-netback: fixing the propagation of the transmit shaper timeout

2015-01-06 Thread Imre Palik
aligu...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/net/xen-netback/xenbus.c |1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/xen-netback/xenbus.c b/drivers/net/xen-netback/xenbus.c index efbaf2a..794204e 100644 --- a/drivers/net/xen-netback/xenbus.c +++ b

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-12-04 Thread Imre Palik
d it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson Cc: Matt Wilson Cc: Al Viro Signed-off-by: Imre Palik --- kernel/audit_tree.c | 53 ++- 1 file changed, 35 insertions(+), 18

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-12-04 Thread Imre Palik
, and it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 53

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-11-28 Thread Imre Palik
d it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson Cc: Matt Wilson Cc: Al Viro Signed-off-by: Imre Palik --- kernel/audit_tree.c | 53 ++- 1 file changed, 35 insertions(+), 18

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-11-28 Thread Imre Palik
, and it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Cc: Al Viro v...@zeniv.linux.org.uk Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 53

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-11-20 Thread Imre Palik
d it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson Cc: Matt Wilson Signed-off-by: Imre Palik --- kernel/audit_tree.c | 53 ++- 1 file changed, 35 insertions(+), 18 deletions(-)

[PATCH RFC] audit: move the tree pruning to a dedicated thread

2014-11-20 Thread Imre Palik
, and it would need some rewrite of the code to limit the amount of threads possibly spawned. Reported-by: Matt Wilson m...@amazon.com Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- kernel/audit_tree.c | 53 ++- 1 file

Re: [PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-09 Thread Imre Palik
On 09/08/14 15:38, Lars wrote: On Mon, Sep 08, 2014 at 03:05:28PM +0200, Imre Palik wrote: On 09/07/14 11:58, Lars wrote: On Fri, Sep 05, 2014 at 08:41:18PM +0200, Imre Palik wrote: From: "Palik, Imre" If the drbd backing device is a new device mapper device (e.g., a dm-line

Re: [PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-09 Thread Imre Palik
On 09/08/14 15:38, Lars wrote: On Mon, Sep 08, 2014 at 03:05:28PM +0200, Imre Palik wrote: On 09/07/14 11:58, Lars wrote: On Fri, Sep 05, 2014 at 08:41:18PM +0200, Imre Palik wrote: From: Palik, Imre im...@amazon.de If the drbd backing device is a new device mapper device (e.g., a dm-linear

Re: [PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-08 Thread Imre Palik
On 09/07/14 11:58, Lars wrote: On Fri, Sep 05, 2014 at 08:41:18PM +0200, Imre Palik wrote: From: "Palik, Imre" If the drbd backing device is a new device mapper device (e.g., a dm-linear mapping of an existing block device that contains data), the counters are initially 0 e

Re: [PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-08 Thread Imre Palik
On 09/07/14 11:58, Lars wrote: On Fri, Sep 05, 2014 at 08:41:18PM +0200, Imre Palik wrote: From: Palik, Imre im...@amazon.de If the drbd backing device is a new device mapper device (e.g., a dm-linear mapping of an existing block device that contains data), the counters are initially 0 even

[PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-05 Thread Imre Palik
rbd device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov Cc: Matt Wilson Signed-off-by: Imre Palik --- drivers/block/drbd/drbd_int.h |4 ++-- drivers/block/drbd/drbd_

[PATCH v3] drbd: fix throttling on newly created DM backing devices

2014-09-05 Thread Imre Palik
device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov msuga...@amazon.de Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/block/drbd

[PATCH v2] drbd: fix throttling on newly created DM backing devices

2014-09-04 Thread Imre Palik
rbd device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov Cc: Matt Wilson Signed-off-by: Imre Palik --- drivers/block/drbd/drbd_main.c |3 ++- drivers/block/drbd/drbd_

[PATCH v2] drbd: fix throttling on newly created DM backing devices

2014-09-04 Thread Imre Palik
device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov msuga...@amazon.de Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/block/drbd

[PATCH] drbd: fix throttling on newly created DM backing devices

2014-09-03 Thread Imre Palik
rbd device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov Cc: Matt Wilson Signed-off-by: Imre Palik --- drivers/block/drbd/drbd_receiver.c |3 ++- 1 file changed, 2 insert

[PATCH] drbd: fix throttling on newly created DM backing devices

2014-09-03 Thread Imre Palik
device or the backing device. The patch disables throttling, as long as only resync is responsible for disk activity on a freshly created device. Reported-by: Mikhail Sugakov msuga...@amazon.de Cc: Matt Wilson m...@amazon.com Signed-off-by: Imre Palik im...@amazon.de --- drivers/block/drbd