Re: [libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-12 Thread Michal Privoznik
On 11.02.2015 18:34, Eric Blake wrote: On 02/11/2015 07:04 AM, Michal Privoznik wrote: On 10.02.2015 16:35, Martin Kletzander wrote: snip/ + +typedef enum { +VIR_PROC_POLICY_NONE, +VIR_PROC_POLICY_BATCH, +VIR_PROC_POLICY_IDLE, +VIR_PROC_POLICY_FIFO, +

Re: [libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-12 Thread Peter Krempa
On Tue, Feb 10, 2015 at 16:35:19 +0100, Martin Kletzander wrote: This function uses sched_setscheduler() function so it works with processes and threads as well (even threads not created by us, which is what we'll need in the future). Signed-off-by: Martin Kletzander mklet...@redhat.com ---

Re: [libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-12 Thread Peter Krempa
On Thu, Feb 12, 2015 at 09:14:29 +0100, Michal Privoznik wrote: On 11.02.2015 18:34, Eric Blake wrote: On 02/11/2015 07:04 AM, Michal Privoznik wrote: On 10.02.2015 16:35, Martin Kletzander wrote: ... If it is so, is it worth bothering with cleanup patch(es)? There's Worth? I don't think

Re: [libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-11 Thread Eric Blake
On 02/11/2015 07:04 AM, Michal Privoznik wrote: On 10.02.2015 16:35, Martin Kletzander wrote: This function uses sched_setscheduler() function so it works with processes and threads as well (even threads not created by us, which is what we'll need in the future).

Re: [libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-11 Thread Michal Privoznik
On 10.02.2015 16:35, Martin Kletzander wrote: This function uses sched_setscheduler() function so it works with processes and threads as well (even threads not created by us, which is what we'll need in the future). Signed-off-by: Martin Kletzander mklet...@redhat.com --- configure.ac

[libvirt] [PATCH v2 1/3] util: Add virProcessSetScheduler() function for scheduler settings

2015-02-10 Thread Martin Kletzander
This function uses sched_setscheduler() function so it works with processes and threads as well (even threads not created by us, which is what we'll need in the future). Signed-off-by: Martin Kletzander mklet...@redhat.com --- configure.ac | 4 +- src/libvirt_private.syms | 1 +