hp5300 usb module in linux 2.4.1-ac14

2001-02-16 Thread Daniel Wagner
hi, i tried to test the hp5300 usb module for my scanner but it wasn't buildt. any hints? thx, daniel ps: experimental drivers, scsi and usb are enabled. -- @gpg: http://stud3.tuwien.ac.at/~e9925791/daniel_wagner.asc C63A 06F0 3E2A A039 E830 83A0 C1DA 3479 803F 078F - To unsubscribe

Re: [PATCH] Documentation: Update git repository URL for Smack userland tools

2012-09-27 Thread Daniel Wagner
Hi Casey, On 26.09.2012 18:34, Casey Schaufler wrote: On 9/24/2012 5:21 AM, Daniel Wagner wrote: From: Daniel Wagner daniel.wag...@bmw-carit.de The userland git repository has been moved to a new place. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Applied to git

ondemand 'regression' after firmware upgrade on MBA

2012-10-11 Thread Daniel Wagner
Hi, I updated the firmware of Macbook Air Mid 2012 model to version 2.5. The changelog from Apple http://support.apple.com/kb/DL1592 This update fixes an issue where Turbo Boost does not activate when using Boot Camp indicates that they changed stuff on the ACPI tables. Now I have noticed

Re: [PATCH 1/9 v3] cgroup: add cgroup_subsys-post_create()

2012-11-09 Thread Daniel Wagner
create() and post_create() callback in net_prio. I have a patch but I see I could drop it completely if post_create() is there. cheers, daniel From 84fbbdf0dc5d3460389e39a00a3ee553ee55b563 Mon Sep 17 00:00:00 2001 From: Daniel Wagner daniel.wag...@bmw-carit.de Date: Thu, 8 Nov 2012 17:17:21

Re: [PATCH 1/9 v3] cgroup: add cgroup_subsys-post_create()

2012-11-12 Thread Daniel Wagner
Hi Tejun, On 09.11.2012 18:22, Tejun Heo wrote: Hey, Daniel. On Fri, Nov 09, 2012 at 12:09:38PM +0100, Daniel Wagner wrote: On 08.11.2012 20:07, Tejun Heo wrote: Subject: cgroup: add cgroup_subsys-post_create() Currently, there's no way for a controller to find out whether a new cgroup

Re: [PATCH] firewire: adopt read cycle timer ABI from raw1394

2007-10-02 Thread Daniel Wagner
Pieter, do applications like yours need the cycle counter only for a few predetermined packets or for each and every packet? We need it for every packet for two reasons: 1) it's the only way to determine how many packets were dropped when packet drops are flagged in the callback Your

ALSA regression Macbook Air 5,2: No sound from the loudspeaker

2013-03-25 Thread Daniel Wagner
Hi, I experience a regression on my Macbook Air 2012 model with the 3.9-rc kernels (v3.9-rc2-284-gaea8b5d) The symptoms are that there is just no sound from the loudspeakers. The headphone output works fine. I was able to pin point it down to one commit 1077a024 ALSA: hda - Use generic

Re: [alsa-devel] ALSA regression Macbook Air 5, 2: No sound from the loudspeaker

2013-03-26 Thread Daniel Wagner
On 03/25/2013 07:46 PM, Daniel Wagner wrote: I experience a regression on my Macbook Air 2012 model with the 3.9-rc kernels (v3.9-rc2-284-gaea8b5d) The symptoms are that there is just no sound from the loudspeakers. The headphone output works fine. Oh, there is already a fix in the mainline

Re: [BUG] Bug in netprio_cgroup and netcls_cgroup ?

2013-01-21 Thread Daniel Wagner
Hi Li, On 21.01.2013 07:08, Li Zefan wrote: I'm not a network developer, so correct me if I'm wrong. Since commit 7955490f732c2b8 (net: netprio_cgroup: rework update socket logic), sock-sk-sk_cgrp_prioidx is set when the socket is created, and won't be updated unless the task is moved to

Re: [BUG] Bug in netprio_cgroup and netcls_cgroup ?

2013-01-21 Thread Daniel Wagner
On 21.01.2013 10:01, Li Zefan wrote: On 2013/1/21 16:50, Daniel Wagner wrote: Hi Li, On 21.01.2013 07:08, Li Zefan wrote: I'm not a network developer, so correct me if I'm wrong. Since commit 7955490f732c2b8 (net: netprio_cgroup: rework update socket logic), sock-sk-sk_cgrp_prioidx

[PATCH v1] net: net_cls: fd passed in SCM_RIGHTS datagram not set correctly

2013-01-21 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Commit 6a328d8c6f03501657ad580f6f98bf9a42583ff7 changed the update logic for the socket but it does not update the SCM_RIGHTS update as well. This patch is based on the net_prio fix commit 48a87cc26c13b68f6cce4e9d769fcb17a6b3e4b8 net: netprio

Re: [BUG] Bug in netprio_cgroup and netcls_cgroup ?

2013-01-22 Thread Daniel Wagner
On Mon, Jan 21, 2013 at 09:18:38AM -0800, John Fastabend wrote: On 01/21/2013 01:57 AM, Li Zefan wrote: On 2013/1/21 17:27, Daniel Wagner wrote: On 21.01.2013 10:01, Li Zefan wrote: On 2013/1/21 16:50, Daniel Wagner wrote: Hi Li, On 21.01.2013 07:08, Li Zefan wrote: I'm

Re: [BUG] Bug in netprio_cgroup and netcls_cgroup ?

2013-01-23 Thread Daniel Wagner
have written a test program, which seems to test the right thing. Please have a look and let me know if it is correct: http://www.monom.org/misc/scm_rights.c And here a dirty first version of the patch: From 49a78d907eaf31c16673025e7e3b4844e419e416 Mon Sep 17 00:00:00 2001 From: Daniel Wagner

Re: [PATCH RFC cgroup/for-3.7] cgroup: mark subsystems with broken hierarchy support and whine if cgroups are nested for them

2012-09-17 Thread Daniel Wagner
On 14.09.2012 10:24, Glauber Costa wrote: On 09/13/2012 09:48 PM, Tejun Heo wrote: Hello, Glauber. On Thu, Sep 13, 2012 at 03:53:56PM +0400, Glauber Costa wrote: Here is where the Kconfig option comes to play. If we do it in the kernel, userspace doesn't have to do anything. I spoke with

Re: linux-next: build failure after merge of the cgroup tree

2012-09-14 Thread Daniel Wagner
Hi Stephen, On 14.09.2012 05:17, Stephen Rothwell wrote: Hi Tejun, After merging the cgroup tree, today's linux-next build (powerpc ppc64_defconfig) failed like this: drivers/net/tun.c: In function 'tun_alloc_skb': drivers/net/tun.c:589:2: error: implicit declaration of function

[PATCH] Fix for cgroup: Assign subsystem IDs during compile time

2012-09-14 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de Hi, Sorry for breaking Tejun's cgroup for-3.7 branch. Here are two patches which fix this problem. Either of them will do. cheers, daniel Cc: David S. Miller da...@davemloft.net Cc: Michael S. Tsirkin m...@redhat.com Cc: Gao feng gaof

[PATCH v6] cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h

2012-09-14 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de The two users of sock_update_classid() are net/socket.c and drivers/net/tun.c. socket.c includes cls_cgroup.h already. Update tun.c to inlcude the header. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Acked-by: Tejun Heo t...@kernel.org

[PATCH] cgroup: net_cls: Include missing header with sock_update_classid() definition

2012-09-14 Thread Daniel Wagner
From: Daniel Wagner daniel.wag...@bmw-carit.de commit 1f66c0a8833c3974ab6b35edcf4f8585b2f94592 Author: Daniel Wagner daniel.wag...@bmw-carit.de Date: Wed Sep 12 16:12:01 2012 +0200 cgroup: net_cls: Move sock_update_classid() declaration to cls_cgroup.h Claimed that there was only net

Re: [PATCH] cgroup: net_cls: Include missing header with sock_update_classid() definition

2012-09-14 Thread Daniel Wagner
Hi Sedat, On 14.09.2012 16:43, Sedat Dilek wrote: On Fri, Sep 14, 2012 at 4:33 PM, Daniel Wagner w...@monom.org wrote: From: Daniel Wagner daniel.wag...@bmw-carit.de commit 1f66c0a8833c3974ab6b35edcf4f8585b2f94592 Author: Daniel Wagner daniel.wag...@bmw-carit.de Date: Wed Sep 12 16:12:01

Re: [PATCH 1/7] netcls_cgroup: move config inheritance to -css_online() and remove .broken_hierarchy marking

2012-11-20 Thread Daniel Wagner
Not introducing the 'is_local' is a good thing. Tested and Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 2/7] netprio_cgroup: simplify write_priomap()

2012-11-20 Thread Daniel Wagner
On 20.11.2012 09:30, Tejun Heo wrote: sscanf() doesn't bite. Signed-off-by: Tejun Heo t...@kernel.org Acked-by: Neil Horman nhor...@tuxdriver.com Tested and Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCH 3/7] netprio_cgroup: shorten variable names in extend_netdev_table()

2012-11-20 Thread Daniel Wagner
and Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [PATCH 4/7] netprio_cgroup: reimplement priomap expansion

2012-11-20 Thread Daniel Wagner
Hi Tejun, On 20.11.2012 09:30, Tejun Heo wrote: netprio kept track of the highest prioidx allocated and resized priomaps accordingly when necessary. This makes it necessary to keep track of prioidx allocation and may end up resizing on every new prioidx. Update extend_netdev_table() such

Re: [PATCH 5/7] netprio_cgroup: use cgroup-id instead of cgroup_netprio_state-prioidx

2012-11-20 Thread Daniel Wagner
allocation to simplify error path. * In cgrp_css_free(), @cs assignment is made initialization. Signed-off-by: Tejun Heo t...@kernel.org Acked-by: Neil Horman nhor...@tuxdriver.com Tested and Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line

Re: [PATCH 6/7] netprio_cgroup: implement netprio[_set]_prio() helpers

2012-11-20 Thread Daniel Wagner
Tested and Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org

Re: [PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Daniel Wagner
and the first level cgroups below the root cgroup behave differently - they inherit priorities from the root cgroup on creation instead of starting with 0. This is unfortunate but not doing so is much crazier. Signed-off-by: Tejun Heo t...@kernel.org Tested and Acked-by: Daniel Wagner daniel.wag...@bmw

Re: [PATCH 4/7] netprio_cgroup: reimplement priomap expansion

2012-11-20 Thread Daniel Wagner
On 20.11.2012 15:38, Tejun Heo wrote: Hello, Daniel. On Tue, Nov 20, 2012 at 09:46:22AM +0100, Daniel Wagner wrote: struct netprio_map { struct rcu_head rcu; struct netprio_aux *aux;/* auxiliary config array */ u32 priomap_len; u32 priomap

Re: [PATCH 7/7] netprio_cgroup: allow nesting and inherit config on cgroup creation

2012-11-20 Thread Daniel Wagner
Hi Tejun, On 20.11.2012 15:40, Tejun Heo wrote: Hello, Daniel. On Tue, Nov 20, 2012 at 09:57:14AM +0100, Daniel Wagner wrote: -static void cgrp_css_free(struct cgroup *cgrp) +static int cgrp_css_online(struct cgroup *cgrp) { - struct cgroup_netprio_state *cs = cgrp_netprio_state(cgrp

Re: [PATCH 4/7] netprio_cgroup: reimplement priomap expansion

2012-11-20 Thread Daniel Wagner
On 20.11.2012 16:13, Tejun Heo wrote: Hello, On Tue, Nov 20, 2012 at 04:09:22PM +0100, Daniel Wagner wrote: Thanks for the explanation. I was pondering if the new size in power of two could be a bit too excessive and the allocation step could be linear, e.g. stick at 4096. target_id

Re: [PATCH 2/3] netcls_cgroup: introduce cgroup_cls_state-is_local

2012-11-19 Thread Daniel Wagner
Hi Tejun, On 17.11.2012 04:31, Tejun Heo wrote: -static int write_classid(struct cgroup *cgrp, struct cftype *cft, u64 value) +static int write_classid(struct cgroup *cgrp, struct cftype *cft, +const char *buf) { + struct cgroup_cls_state *cs =

Re: [PATCH 3/3] netcls_cgroup: implement proper hierarchy support

2012-11-19 Thread Daniel Wagner
Hi Tejun, On 17.11.2012 04:31, Tejun Heo wrote: @@ -112,15 +161,6 @@ struct cgroup_subsys net_cls_subsys = { .subsys_id = net_cls_subsys_id, .base_cftypes = ss_files, .module = THIS_MODULE, - - /* -* While net_cls cgroup has the rudimentary

Re: [PATCH 1/3] netcls_cgroup: introduce netcls_mutex

2012-11-19 Thread Daniel Wagner
, this currently doesn't make any userland-visible difference, but will help implementing proper hierarchy support. Signed-off-by: Tejun Heo t...@kernel.org Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

Re: [PATCHSET cgroup/for-3.8] netcls_cgroup: implement hierarchy support

2012-11-19 Thread Daniel Wagner
Hi Tejun, On 17.11.2012 04:30, Tejun Heo wrote: Hello, guys. This patchset implements proper hierarchy support for netcls_cgroup. Pretty simliar to the netprio one[3]. Simpler as each cgroup has single config value instead of array of them. This patchset contains the following three

Re: [PATCH 3/3] netcls_cgroup: implement proper hierarchy support

2012-11-19 Thread Daniel Wagner
Hi Tejun, On 19.11.2012 18:08, Tejun Heo wrote: Hello, Daniel. On Mon, Nov 19, 2012 at 02:47:06PM +0100, Daniel Wagner wrote: On 17.11.2012 04:31, Tejun Heo wrote: @@ -112,15 +161,6 @@ struct cgroup_subsys net_cls_subsys = { .subsys_id = net_cls_subsys_id, .base_cftypes

Re: [PATCH v2 2/3] netcls_cgroup: introduce cgroup_cls_state-is_local

2012-11-19 Thread Daniel Wagner
() accepts base prefix (e.g. 0x10 for 16). Updated %lld to %lli. Signed-off-by: Tejun Heo t...@kernel.org Acked-by: David S. Miller da...@davemloft.net Acked-by: Neil Horman nhor...@tuxdriver.com Cc: Daniel Wagner w...@monom.org Acked-by: Daniel Wagner daniel.wag...@bmw-carit.de thanks

Re: [PATCHSET cgroup/for-3.8] netprio_cgroup: implement hierarchy support

2012-11-19 Thread Daniel Wagner
Hi Tejun, I have tested this series and it works nicely. I didn't mentioned yet to review it completely. I will do it tomorrow. cheers, daniel -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at

Re: [PATCHSET cgroup/for-3.8] netprio_cgroup: implement hierarchy support

2012-11-19 Thread Daniel Wagner
On 19.11.2012 20:25, Daniel Wagner wrote: Hi Tejun, I have tested this series and it works nicely. I didn't mentioned yet to review it completely. I will do it tomorrow. s/mentioned/managed/ -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH 12/23] cgroup: pass around cgroup_subsys_state instead of cgroup in file methods

2013-08-06 Thread Daniel Wagner
: Aristeu Rozanski a...@redhat.com Cc: Matt Helsley matth...@us.ibm.com Cc: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Vivek Goyal vgo...@redhat.com Cc: Jens Axboe ax...@kernel.dk Cc: Steven Rostedt rost...@goodmis.org I guess I ended up because I did some changes on netprio_cgroup and cls_cgroup

Re: [PATCH 22/23] cgroup: make cgroup_taskset deal with cgroup_subsys_state instead of cgroup

2013-08-06 Thread Daniel Wagner
Zefan lize...@huawei.com Cc: Ingo Molnar mi...@redhat.com Cc: Matt Helsley matth...@us.ibm.com Cc: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Steven Rostedt rost...@goodmis.org Nice cleanup. Acked-By: Daniel Wagner daniel.wag...@bmw-carit.de cheers, daniel -- To unsubscribe from this list

Re: [PATCH v2 08/23] cgroup: pass around cgroup_subsys_state instead of cgroup in subsystem methods

2013-08-06 Thread Daniel Wagner
Rozanski a...@redhat.com Cc: Matt Helsley matth...@us.ibm.com Cc: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Vivek Goyal vgo...@redhat.com Cc: Jens Axboe ax...@kernel.dk Cc: Steven Rostedt rost...@goodmis.org netprio and cls part: Acked-By: Daniel Wagner daniel.wag...@bmw-carit.de cheers, daniel

Re: brcsmac kernel panic

2013-08-13 Thread Daniel Wagner
On 08/13/2013 03:41 PM, Arend van Spriel wrote: On 08/12/2013 10:11 PM, Daniel Wagner wrote: On 08/12/2013 12:38 PM, Arend van Spriel wrote: On 08/11/2013 06:21 PM, Daniel Wagner wrote: I just updated my laptop (MacBook Air 2012) from 3.11-rc3+ to 3.11-rc4+ and since then brcsmac crashes

brcsmac kernel panic

2013-08-11 Thread Daniel Wagner
Hi, I just updated my laptop (MacBook Air 2012) from 3.11-rc3+ to 3.11-rc4+ and since then brcsmac crashes short after enabling it. Unfortunately, I did also change some config flags in the area of cpufreq (enabling p-state driver) so the configuration is not exactly the same. Before I try

Re: [PATCH 0/4] Fix various bits of AC and PI for SCHED_DEADLINE

2014-10-24 Thread Daniel Wagner
a !SCHED_DEADLINE entity sched/deadline: fix races between rt_mutex_setprio and dl_task_timer I have tested the whole patch set with my test program and everything seems to work fine. If you like you can add a Tested-by: Daniel Wagner daniel.wag...@bmw-carit.de cheers, daniel -- To unsubscribe from

Re: [PATCH] sched: Reset bandwith on task when switching from SCHED_DEADLINE away

2014-09-09 Thread Daniel Wagner
Hi Juri, On 09/08/2014 05:13 PM, Juri Lelli wrote: thanks a lot for your patch. I'd actually have a slightly different fix for the same problem. I'm actually baking a small patchset that I should be able to release in the next few days. I'd say we could wait for that to happen and then

Re: [PATCH] sched: Do not try to replenish from a non deadline tasks

2014-10-07 Thread Daniel Wagner
Hi Juri, On 10/07/2014 11:43 AM, Juri Lelli wrote: Hi Daniel, On 24/09/14 14:24, Daniel Wagner wrote: When a PI mutex is shared between an deadline task and normal task we might end up trying to replenish from the normal task. In this case neither dl_runtime, dl_period or dl_deadline

Re: [PATCH] sched: Do not try to replenish from a non deadline tasks

2014-10-07 Thread Daniel Wagner
On 10/07/2014 02:02 PM, Daniel Wagner wrote: Anyway, the callpath you talked about on IRC seems to make sense, does what below fix the thing? For the record that was: 16:30 wagi juril: rt_mutex_setprio() resets p-dl.dl_throttled. So the pattern is: start_dl_timer() throttled

Re: [PATCH] sched: Do not try to replenish from a non deadline tasks

2014-10-07 Thread Daniel Wagner
On 10/07/2014 02:10 PM, Daniel Wagner wrote: [ 36.689416] pthread_-15550d..5 18486408us : sched_stat_sleep: comm=pthread_test pid=1554 delay=143975 [ns] [ 36.689416] pthread_-15550d..5 18486408us : sched_wakeup: comm=pthread_test pid=1554 prio=120 success=1 target_cpu=000

[PATCH v0] scripts/gdb: Use a generator instead of iterator for task list

2014-10-09 Thread Daniel Wagner
The iterator does not return any task_struct from the thread_group list because the first condition in the 'if not t or ...' will only be the first time None. Instead of keeping track of the state ourself in the next() function, we fall back using Python's generator. Signed-off-by: Daniel Wagner

[PATCH v0] scripts/gdb: Use a generator instead of iterator for task list

2014-10-09 Thread Daniel Wagner
I am trying to debug something here and gave your patches a spin. I found a small issue when trying to access threads instead only processes. See you next week in Duesseldorf! Daniel Wagner (1): scripts/gdb: Use a generator instead of iterator for task list scripts/gdb/linux/tasks.py | 50

Re: [PATCH] sched: Do not try to replenish from a non deadline tasks

2014-10-09 Thread Daniel Wagner
Hi Juri, On 10/07/2014 03:20 PM, Daniel Wagner wrote: On 10/07/2014 02:10 PM, Daniel Wagner wrote: [ 36.689416] pthread_-15550d..5 18486408us : sched_stat_sleep: comm=pthread_test pid=1554 delay=143975 [ns] [ 36.689416] pthread_-15550d..5 18486408us : sched_wakeup: comm

Re: [PATCH 2/3] sched/deadline: fix bandwidth check/update when migrating tasks between exclusive cpusets

2014-09-19 Thread Daniel Wagner
then release bandwidth from the source cpuset when the task's affinity is actually changed. Even if there can be time windows when sched_setattr() may erroneously fail in the source cpuset, we are fine with it, as we can't perfom an atomic update of both cpusets at once. Reported-by: Daniel Wagner

Re: [PATCH 1/3] sched/deadline: clear dl_entity params when setscheduling to different class

2014-09-19 Thread Daniel Wagner
this, admission control is broken. This patch fixes the thing, properly clearing static parameters for a task that ceases to use SCHED_DEADLINE. Reported-by: Daniele Alessandrelli daniele.alessandre...@gmail.com Reported-by: Daniel Wagner daniel.wag...@bmw-carit.de Tested-by: Daniel Wagner

NFC depmod dependecy cycles

2014-09-02 Thread Daniel Wagner
Hi Samuel, I just tried 3.17-rc3 and run into this problem: # make modules_install DEPMOD 3.17.0-rc3-2-g7505cea depmod: WARNING: found 6 modules in dependency cycles! depmod: WARNING: /lib/modules/3.17.0-rc3-2-g7505cea/kernel/drivers/nfc/st21nfcb/st21nfcb.ko in dependency cycle!

Re: NFC depmod dependecy cycles

2014-09-02 Thread Daniel Wagner
On 09/02/2014 10:23 AM, Daniel Wagner wrote: Hi Samuel, I just tried 3.17-rc3 and run into this problem: # make modules_install DEPMOD 3.17.0-rc3-2-g7505cea depmod: WARNING: found 6 modules in dependency cycles! depmod: WARNING: /lib/modules/3.17.0-rc3-2-g7505cea/kernel

[PATCH] sched: Reset bandwith on task when switching from SCHED_DEADLINE away

2014-09-03 Thread Daniel Wagner
-bw 996147 dl_b-total_bw 0 p-dl.dl_bw 0 period 20 runtime 10 new_bw 524288 - 2 [ 17.356961] dl_b-bw 996147 dl_b-total_bw 524288 p-dl.dl_bw 524288 period 0 runtime 0 new_bw 0 - 4 Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Ingo Molnar mi...@redhat.com Cc: Peter Zijlstra

Re: [PATCH 2/3] sched/deadline: fix bandwidth check/update when migrating tasks between exclusive cpusets

2014-09-23 Thread Daniel Wagner
Hi, On 09/23/2014 10:09 AM, Juri Lelli wrote: Sep 19 09:54:37 starbuck kernel: [ 1309.728678] [ cut here ] Sep 19 09:54:37 starbuck kernel: [ 1309.728699] kernel BUG at kernel/sched/deadline.c:819! Sep 19 09:54:37 starbuck kernel: [ 1309.728719] invalid opcode:

[PATCH] sched: Do not try to replenish from a non deadline tasks

2014-09-24 Thread Daniel Wagner
[810653f2] enqueue_task_dl+0x2b2/0x330 [ 654.000276] RSP 88007d2bbd08 [ 654.000276] ---[ end trace aed7e30a2c9541d9 ]--- Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Ingo Molnar mi...@redhat.com Cc: Peter Zijlstra pet...@infradead.org Cc: Juri Lelli juri.le

Re: [PATCH] sched: Do not try to replenish from a non deadline tasks

2014-10-10 Thread Daniel Wagner
Good Morning Juri, On 10/09/2014 03:51 PM, Juri Lelli wrote: Hi Daniel, On 09/10/14 10:47, Daniel Wagner wrote: Hi Juri, On 10/07/2014 03:20 PM, Daniel Wagner wrote: On 10/07/2014 02:10 PM, Daniel Wagner wrote: [ 36.689416] pthread_-15550d..5 18486408us : sched_stat_sleep: comm

[RFC v0 1/1] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-19 Thread Daniel Wagner
is used for all waiters. Luckely, fl_link_cpu can be reused for fl_block and fl_next. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Alexander Viro v...@zeniv.linux.org.uk Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: John Kacur jka...@redhat.com Cc

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-17 Thread Daniel Wagner
it running stable under load on my shiny box. cheers, daniel From c517743659575932d7b7c94a08276d0cee8a2fdd Mon Sep 17 00:00:00 2001 From: Daniel Wagner daniel.wag...@bmw-carit.de Date: Fri, 11 Jul 2014 15:26:13 +0200 Subject: [PATCH] thermal: Defer thermal wakups to threads On RT the spin lock

Re: [RFC v0 1/1] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-20 Thread Daniel Wagner
Hi Jeff, On 02/19/2015 09:49 PM, Jeff Layton wrote: On Thu, 19 Feb 2015 15:26:14 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: Whenever we insert a new lock we are going to grab besides the i_lock also the corresponding percpu file_lock_lock. The global blocked_lock_lock is only used

[RFC v1 2/5] locks: Split insert/delete block functions into flock/posix parts

2015-02-20 Thread Daniel Wagner
The locks_insert/delete_block() functions are used for flock, posix and leases types. blocked_lock_lock is used to serialize all access to fl_link, fl_block, fl_next and blocked_hash. Here, we prepare the stage for using blocked_lock_lock to protect blocked_hash. Signed-off-by: Daniel Wagner

[RFC v1 3/5] seq_file: Add percpu seq_hlist helpers with locking iterators

2015-02-20 Thread Daniel Wagner
Introduce a variant of the seq_hlist helpers for iterating seq_hlist are protected by perpcu spinlocks. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs

[RFC v1 5/5] locks: Use blocked_lock_lock only to protect blocked_hash

2015-02-20 Thread Daniel Wagner
file_lock_lock is used for all waiters. Luckely, fl_link_cpu can be reused for fl_block and fl_next. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs/locks.c | 78

[RFC v1 1/5] locks: Remove unnecessary IS_POSIX test

2015-02-20 Thread Daniel Wagner
-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@primarydata.com Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs/locks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 365c82e..f63aa92 100644 --- a/fs

[RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-20 Thread Daniel Wagner
Cc: J. Bruce Fields bfie...@fieldses.org Cc: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Daniel Wagner (5): locks: Remove unnecessary IS_POSIX test locks: Split insert/delete block functions into flock/posix parts seq_file: Add percpu seq_hlist helpers with locking

[RFC v1 4/5] locks: Use percpu spinlocks to protect file_lock_list

2015-02-20 Thread Daniel Wagner
Replace the lglock with percpu spinlocks. That allows us to iterate in the seqfile ops without taking all underlyng spinlocks with the lg_global_lock(). Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc

[RFC v0 0/1] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-19 Thread Daniel Wagner
Daniel Wagner (1): fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock fs/locks.c | 164 + 1 file changed, 112 insertions(+), 52 deletions(-) -- 2.1.0 -- To unsubscribe from this list: send the line

[PATCH v0] lockstat: Add documentation on contention and contenting points

2015-01-13 Thread Daniel Wagner
Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Peter Zijlstra pet...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Jonathan Corbet cor...@lwn.net --- I spent some time to figure out what I saw in /proc/lock_stat. Maybe someone else has the same question. --- Documentation

possible circular locking dependency detected

2015-03-11 Thread Daniel Wagner
Hi, I am seeing this info when I boot up my kvm guest. I think I haven't seen any reports on this one. In case I missed the report, sorry about the noise. [ 92.867888] == [ 92.868440] [ INFO: possible circular locking dependency detected

Re: [PATCH v3 0/2] Use blocked_lock_lock only to protect blocked_hash

2015-03-10 Thread Daniel Wagner
Hi, On 03/07/2015 03:00 PM, Jeff Layton wrote: On Fri, 6 Mar 2015 08:53:30 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: Hi, Finally, I got a bigger machine and did a quick test round. I expected to see some improvements but the resutls do not show any real gain. So

Re: [PATCH v3 0/2] Use blocked_lock_lock only to protect blocked_hash

2015-03-26 Thread Daniel Wagner
Hi Jeff, Sorry for the long delay. Was I week on holiday and the testing took a bit longer than I expected. On 03/14/2015 01:40 PM, Jeff Layton wrote: On Tue, 10 Mar 2015 09:20:24 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: On 03/07/2015 03:00 PM, Jeff Layton wrote: On Fri, 6 Mar

Re: [PATCH] lglock: Use spinlock_t instead of arch_spinlock_t

2015-03-30 Thread Daniel Wagner
On 03/26/2015 05:03 PM, Peter Zijlstra wrote: On Thu, Mar 26, 2015 at 04:02:08PM +0100, Daniel Wagner wrote: @@ -67,9 +67,9 @@ void lg_global_lock(struct lglock *lg) preempt_disable(); lock_acquire_exclusive(lg-lock_dep_map, 0, 0, NULL, _RET_IP_); for_each_possible_cpu(i

deadlock between type-i_mutex_dir_key#4 and xfs_dir_ilock_class

2015-03-30 Thread Daniel Wagner
Hi, Just my test box booted 4.0.0-rc6 and I was greeted by: [Mar30 10:10] == [ +0.43] [ INFO: possible circular locking dependency detected ] [ +0.45] 4.0.0-rc6 #32 Not tainted [ +0.27]

[RFC v2 0/4] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-03-02 Thread Daniel Wagner
...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Daniel Wagner (4): locks: Remove unnecessary IS_POSIX test locks: Add lockdep assertion for blocked_lock_lock locks: Split insert/delete block functions into flock/posix parts locks: Use blocked_lock_lock only to protect blocked_hash fs

[RFC v2 2/4] locks: Add lockdep assertion for blocked_lock_lock

2015-03-02 Thread Daniel Wagner
Annonate insert, remove and iterate function that we need blocked_lock_lock held. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de --- fs/locks.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/fs/locks.c b/fs/locks.c index f63aa92..4498da0 100644 --- a/fs/locks.c +++ b/fs

[RFC v2 1/4] locks: Remove unnecessary IS_POSIX test

2015-03-02 Thread Daniel Wagner
-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@primarydata.com Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs/locks.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/locks.c b/fs/locks.c index 365c82e..f63aa92 100644 --- a/fs

Re: [RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-03-02 Thread Daniel Wagner
On 02/27/2015 04:30 PM, Jeff Layton wrote: On Fri, 27 Feb 2015 16:01:30 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: On 02/24/2015 10:06 PM, Jeff Layton wrote: On Tue, 24 Feb 2015 16:58:26 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: On 02/20/2015 05:05 PM, Andi Kleen wrote

[RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts

2015-03-02 Thread Daniel Wagner
The locks_insert/delete_block() functions are used for flock, posix and leases types. blocked_lock_lock is used to serialize all access to fl_link, fl_block, fl_next and blocked_hash. Here, we prepare the stage for using blocked_lock_lock to protect blocked_hash. Signed-off-by: Daniel Wagner

[RFC v2 4/4] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-02 Thread Daniel Wagner
file_lock_lglock is used for all waiters. Luckely, fl_link_cpu can be reused for fl_block and fl_next. Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs/locks.c | 78

Re: [RFC v2 0/4] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-03-02 Thread Daniel Wagner
On 03/02/2015 04:23 PM, Jeff Layton wrote: These look good at first glance, but I do need to go over patches 3 and 4 in more detail. FWIW, usually when I see RFC in the subject, I take it as a hint that this is still work-in-progress and that you're looking for early feedback on it, and hence

Re: [RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-27 Thread Daniel Wagner
Sorry for the late response. Got dragged away. On 02/24/2015 10:06 PM, Jeff Layton wrote: On Tue, 24 Feb 2015 16:58:26 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: On 02/20/2015 05:05 PM, Andi Kleen wrote: Daniel Wagner daniel.wag...@bmw-carit.de writes: I am looking at how

Re: [ANNOUNCE] 3.18.7-rt1

2015-02-26 Thread Daniel Wagner
Hi Sebastian On 02/26/2015 09:48 AM, Sebastian Andrzej Siewior wrote: * Sebastian Andrzej Siewior | 2015-02-25 14:55:01 [+0100]: + +static int thermal_notify_work_init(void) +{ + int err; + + err = swork_get(); + if (!err) + return err; It think this should be:

Re: [RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts

2015-03-04 Thread Daniel Wagner
On 03/04/2015 04:00 PM, Boaz Harrosh wrote: On 03/04/2015 04:20 PM, Daniel Wagner wrote: On 03/03/2015 01:55 AM, Jeff Layton wrote: On Mon, 2 Mar 2015 15:25:12 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: I have fixed that stuff and now I am testing it. Though it seems

Re: [RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts

2015-03-04 Thread Daniel Wagner
On 03/04/2015 10:01 PM, Jeff Layton wrote: I pulled down the most recent Fedora rawhide kernel today: 4.0.0-0.rc2.git0.1.fc23.x86_64 ...and with that, I can't reproduce this. The ftrace_event_field slab (which is shared by the fasync_struct cache) seems to stay under control. I see it

Re: [PATCH] locks: fix fasync_struct memory leak in lease upgrade/downgrade handling

2015-03-04 Thread Daniel Wagner
in the event that there was not already an existing one (as it always appeared that there wasn't one). Fixes: 8634b51f6ca2 (locks: convert lease handling to file_lock_context) Yes, that fixes the problem. Thanks! Reported-by: Daniel Wagner daniel.wag...@bmw-carit.de Signed-off-by: Jeff

Re: [RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-03-04 Thread Daniel Wagner
On 03/03/2015 01:29 AM, Jeff Layton wrote: Hmm, are you sure about that? I read the code this way that when a lock is added to flock_list it stays on that CPU. The locks are not moved from one flock_list to another during their existent. Yes, I'm sure. When a file lock is acquired, we

Re: [RFC v2 3/4] locks: Split insert/delete block functions into flock/posix parts

2015-03-04 Thread Daniel Wagner
On 03/03/2015 01:55 AM, Jeff Layton wrote: On Mon, 2 Mar 2015 15:25:12 +0100 Daniel Wagner daniel.wag...@bmw-carit.de wrote: The locks_insert/delete_block() functions are used for flock, posix and leases types. blocked_lock_lock is used to serialize all access to fl_link, fl_block, fl_next

Some memory leak reported by kmemleak

2015-03-05 Thread Daniel Wagner
Hi, I just did some kmemleak run on my test hardware and I got some reports mentioning ACPI. I hope I got the right persons and list. This is based on 4.0.0-rc2+ 6587457b4b3 unreferenced object 0x881fafcbdce0 (size 32): comm swapper/0, pid 1, jiffies 4294671332 (age 4303.330s) hex dump

Re: [RFC v1 0/5] fs/locks: Use plain percpu spinlocks instead of lglock to protect file_lock

2015-02-24 Thread Daniel Wagner
On 02/20/2015 05:05 PM, Andi Kleen wrote: Daniel Wagner daniel.wag...@bmw-carit.de writes: I am looking at how to get rid of lglock. Reason being -rt is not too happy with that lock, especially that it uses arch_spinlock_t and AFAIK it could just use normal spinlock. Have you tried that? I

Re: [PATCH v3 0/2] Use blocked_lock_lock only to protect blocked_hash

2015-03-26 Thread Daniel Wagner
- I also played with lockdep detection. With lglock-v0 applied some tests like flock02 and posix02 get considerable worse results. The difference between flock01 and flock02 is that the children of flock01 fight over one file lock versus the children of flock02 lock and unlock

[PATCH v3 0/2] Use blocked_lock_lock only to protect blocked_hash

2015-03-05 Thread Daniel Wagner
- added seqfile helpers to avoid ugly open coded version https://lkml.org/lkml/2015/3/2/351 Cc: Alexander Viro v...@zeniv.linux.org.uk Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: linux-fsde...@vger.kernel.org Cc: linux-kernel@vger.kernel.org Daniel Wagner (2

[PATCH v3 1/2] locks: Split insert/delete block functions into flock/posix parts

2015-03-05 Thread Daniel Wagner
The locks_insert/delete_block() functions are used for flock, posix and leases types. blocked_lock_lock is used to serialize all access to fl_link, fl_block, fl_next and blocked_hash. Here, we prepare the stage for using blocked_lock_lock only to protect blocked_hash. Signed-off-by: Daniel Wagner

[PATCH v3 2/2] locks: Use blocked_lock_lock only to protect blocked_hash

2015-03-05 Thread Daniel Wagner
by flc_lock. It's easy to get confused... Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: Alexander Viro v...@zeniv.linux.org.uk --- fs/locks.c | 72

[PATCH] lglock: Use spinlock_t instead of arch_spinlock_t

2015-03-26 Thread Daniel Wagner
=linux-kernelm=142737586415051w=2 Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de Cc: Alexander Viro v...@zeniv.linux.org.uk Cc: Jeff Layton jlay...@poochiereds.net Cc: J. Bruce Fields bfie...@fieldses.org Cc: Peter Zijlstra pet...@infradead.org Cc: Ingo Molnar mi...@redhat.com Cc: Thomas

Re: [PATCH v4 0/7] tracing: 'hist' triggers

2015-04-20 Thread Daniel Wagner
Hi Tom, On 04/10/2015 06:05 PM, Tom Zanussi wrote: This is v4 of the 'hist triggers' patchset, following feedback from v3. This version fixes the race in tracing_map_insert() noted in v3, where map.val.key could be checked even if map.val wasn't yet set. The simple fix for that in

Re: [PATCH v4 0/7] tracing: 'hist' triggers

2015-04-21 Thread Daniel Wagner
Hi Tom, On 04/21/2015 12:03 AM, Tom Zanussi wrote: On Mon, 2015-04-20 at 14:52 +0200, Daniel Wagner wrote: On 04/10/2015 06:05 PM, Tom Zanussi wrote: So I am wondering if the path from ftrace_trigger_soft_disabled() to event_triggers_call() is supposed never to happen? The comment

[RFD 2/5] tracing: Add support to sort on the key

2015-04-30 Thread Daniel Wagner
=hitcount' in this case. Not for inclusion! Not-Signed-off-by: Daniel Wagner daniel.wag...@bmw-carit.de --- kernel/trace/trace_events_hist.c | 35 +++ 1 file changed, 31 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace

[RFD 3/5] tracing: Add option to quantize key values

2015-04-30 Thread Daniel Wagner
, not necessarly consistent or clever: 'hist:key=latency.bucket[10,1.5]:val=hitcount:sort=latency' where [x,y]: x first bucket size, y scaling factor 'hist:key=latency:val=hitcount:sort=latency:bucket=latency,10,1.5' Not for inclusion! Not-Signed-off-by: Daniel Wagner daniel.wag...@bmw

[RFD 1/5] tracing: 'hist' triggers

2015-04-30 Thread Daniel Wagner
From: Tom Zanussi tom.zanu...@linux.intel.com Hi Daniel, On Mon, 2015-04-20 at 14:52 +0200, Daniel Wagner wrote: Hi Tom, On 04/10/2015 06:05 PM, Tom Zanussi wrote: This is v4 of the 'hist triggers' patchset, following feedback from v3. This version fixes the race in tracing_map_insert

  1   2   3   4   5   6   7   8   9   10   >