[Devel] Re: v2.6.26-rc7/cgroups: circular locking dependency

2008-06-23 Thread Max Krasnyansky
Peter Zijlstra wrote: > On Mon, 2008-06-23 at 00:34 +0900, KOSAKI Motohiro wrote: >> CC'ed Paul Jackson >> >> it seems typical ABBA deadlock. >> I think cpuset use cgrou_lock() by mistake. >> >> IMHO, cpuset_handle_cpuhp() sholdn't use cgroup_lock() and >> shouldn't call rebuild_sched_domains(). >

[Devel] Re: [PATCH 05/11] sysfs: sysfs_chmod_file handle multiple superblocks

2008-06-23 Thread Tejun Heo
Hello, Daniel Lezcano wrote: >> I think it would be great if sysfs_chmod_file can do all-or-nothing >> instead of failing half way through but given the interface of >> notify_change(), it could be difficult to implement. Any ideas? > > Is it acceptable to queue the notifications in a list until

[Devel] [PATCH 4/4][cryo]: Test 5: Read/write using dup() of pipe fds

2008-06-23 Thread sukadev
>From 121c33ebe1ae201d5bb051f9c76e3eaae29329bb Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Sun, 22 Jun 2008 23:33:24 -0700 Subject: [PATCH] Test 5: Read/write using dup() of pipe fds --- tests/pipe.c | 19 ++- 1 files changed, 14 insertions(+), 5

[Devel] [PATCH 3/4][cryo]: Test 4: Non-consecutive pipe fds

2008-06-23 Thread sukadev
>From c7276c8cb59247faa13d42a1b871c853a80d80d1 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Sun, 22 Jun 2008 22:43:01 -0700 Subject: [PATCH] Test4: Non-consecutive pipe fds --- tests/pipe.c | 76 ++--- 1 files

[Devel] [PATCH 1/4]: Support multiple pipe test cases

2008-06-23 Thread sukadev
>From a99deb9bcdd611c52589fa733dd90057f1f134bf Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Sun, 22 Jun 2008 21:05:48 -0700 Subject: [PATCH] Support multiple pipe test cases Modify pipe.c to support multiple test cases and to select a test case using the -t option.

[Devel] [PATCH 2/4]: Test3: continous read/write to pipe

2008-06-23 Thread sukadev
>From ade1b719f7d9968e0f934daf736ca1746cb6747d Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Sun, 22 Jun 2008 22:26:18 -0700 Subject: [PATCH] Testcase 3: continous read/write to pipe --- tests/pipe.c | 82 +-

[Devel] [PATCH 0/4][cryo] Test pipes

2008-06-23 Thread sukadev
PATCH[1/4]: Support-multiple-pipe-test-cases.patch PATCH[2/4]: Testcase-3-continous-read-write-to-pipe.patch PATCH[3/4]: Test4-Non-consecutive-pipe-fds.patch PATCH[4/4]: Test-5-Read-write-using-dup-of-pipe-fds.patch ___ Containers mailing list [EMAIL PRO

[Devel] [PATCH 2/2] Support Non-consecutive and dup pipe fds

2008-06-23 Thread sukadev
>From a80c5215763f757840214465277e911e46e01219 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Mon, 23 Jun 2008 20:13:57 -0700 Subject: [PATCH] Support Non-consecutive and dup pipe fds PATCH 1/1 provides basic infrastructure to save/restore state of pipes. This patch

[Devel] [PATCH 1/2][cryo] Save/restore state of unnamed pipes

2008-06-23 Thread sukadev
>From e513f8bc0fe808425264ad01210ac610f6453047 Mon Sep 17 00:00:00 2001 From: Sukadev Bhattiprolu <[EMAIL PROTECTED]> Date: Mon, 16 Jun 2008 18:41:05 -0700 Subject: [PATCH] Save/restore state of unnamed pipes Design: Current Linux kernels provide ability to read/write contents of FIFOs using /pro

[Devel] [PATCH 0/2][cryo] Save/restore pipe state

2008-06-23 Thread sukadev
[PATCH 1/2] Save/restore state of unnamed pipes Basic infrastructure to save/restore pipe state with assumptions about order of fds. [PATCH 2/2] Support Non-consecutive and dup pipe fds Remove above assumptions about order of fds and support dups of pipe fds. ___

[Devel] Re: [RFC][PATCH][cryo] Save/restore state of unnamed pipes

2008-06-23 Thread Dave Hansen
On Sun, 2008-06-22 at 17:40 -0400, Oren Laadan wrote: > One issue with this approach is that the operation (checkpoint) becomes > non-transparent to the "checkpointee"s: re-writing the data back into > the pipe/fifo may generate a SIGIO at the read-side of the pipe/fifo, or > an inotify event on th

[Devel] Re: [PATCH 05/11] sysfs: sysfs_chmod_file handle multiple superblocks

2008-06-23 Thread Daniel Lezcano
Tejun Heo wrote: > Hello, guys. Sorry about the long silence. Recent releases of > popular distros overwhelmed me with ata bugs. They now seem to be > under control (and hopefully stay that way for some time to come). > > On the previous iteration, I was hoping I could sort out sysfs > interfac

[Devel] [Fwd: Re: [PATCH] iproute2: add support for IFLA_NET_NS_PID in ip link v2]

2008-06-23 Thread Daniel Lezcano
FYI. Thanks. -- Daniel Original Message Subject: Re: [PATCH] iproute2: add support for IFLA_NET_NS_PID in ip link v2 Date: Mon, 23 Jun 2008 09:02:12 -0700 From: Stephen Hemminger <[EMAIL PROTECTED]> Organization: Linux Foundation To: Daniel Lezcano <[EMAIL PROTECTED]> C

[Devel] Re: v2.6.26-rc7/cgroups: circular locking dependency

2008-06-23 Thread Paul Jackson
CC'd Gautham R Shenoy <[EMAIL PROTECTED]>. I believe that we had the locking relation between what had been cgroup_lock (global cgroup lock which can be held over large stretches of non-performance critical code) and callback_mutex (global cpuset specific lock which is held over shorter stretches