* c/r updates
@ 2009-05-14 15:53 Oren Laadan
[not found] ` <4A0C3E84.1040702-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Oren Laadan @ 2009-05-14 15:53 UTC (permalink / raw)
To: Dave Hansen; +Cc: Linux Containers, Nathan Lynch
Hi,
The current development kernel git:
git://git.ncl.cs.columbia.edu/pub/git/linux-cr [ckpt-v15-dev]
The current development user tools git:
git://git.ncl.cs.columbia.edu/pub/git/user-cr [ckpt-v15-dev]
(branch naming will remain consistent from now ...)
Dave: I pushed a series of patches/fixes to current c/r tree, some of
which are are relevant to the patch series you're preparing.
Nathan: patches "tee...", "splice..." and "c/r: redo..." change the
way pipes are saved/restored, and avoids the lockdep issue.
Patches:
c/r: fix ckpt_obj_fetch return values (v3)
c/r: redo {checkpoint,restore}_pipe() using splice and tee
splice: added support for pipe-to-pipe splice()
tee: don't return 0 when another task drains/fills a pipe
c/r: fix incorrect 'cond ? : xxx' statemnt
c/r: set expire value to zero for restart block that expired
c/r: x86 checkpoint support does not depend on CONFIG_COMPAT_VDSO
c/r: s390: remove unused variable ret
c/r: s390: fix unterminated ifdef
c/r: test for ops->restore method in do_restore_file()
c/r: grab missing reference to a (pipe) file if not first encounter
Separate restore of task nxproxy (first) and memory (second)
Fix leak of objects restored in restore_obj()
c/r: fix users count of files that are pointed to by mm->exe_file
c/r: fix incorrect variable type in call to strict_strtoul()
Oren.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c/r updates
[not found] ` <4A0C3E84.1040702-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
@ 2009-05-14 16:26 ` Nathan Lynch
0 siblings, 0 replies; 2+ messages in thread
From: Nathan Lynch @ 2009-05-14 16:26 UTC (permalink / raw)
To: Oren Laadan; +Cc: Linux Containers, Dave Hansen
Oren Laadan <orenl-eQaUEPhvms7ENvBUuze7eA@public.gmane.org> writes:
> Hi,
>
> The current development kernel git:
> git://git.ncl.cs.columbia.edu/pub/git/linux-cr [ckpt-v15-dev]
>
> The current development user tools git:
> git://git.ncl.cs.columbia.edu/pub/git/user-cr [ckpt-v15-dev]
>
> (branch naming will remain consistent from now ...)
>
> Dave: I pushed a series of patches/fixes to current c/r tree, some of
> which are are relevant to the patch series you're preparing.
>
> Nathan: patches "tee...", "splice..." and "c/r: redo..." change the
> way pipes are saved/restored, and avoids the lockdep issue.
Yes, I just re-tested and it seems to avoid it.
However, when trying to checkpoint an unfrozen container (user error)
with ckpt -c I see the following trace. Looks like ckpt_write_err is
called with tasklist_lock held.
BUG: sleeping function called from invalid context at mm/slub.c:1595
in_atomic(): 1, irqs_disabled(): 0, pid: 3603, name: ckpt
1 lock held by ckpt/3603:
#0: (tasklist_lock){.+.+.+}, at: [<c0397e9a>] tree_count_tasks+0x2a/0x22e
Pid: 3603, comm: ckpt Not tainted 2.6.30-rc3 #15
Call Trace:
[<c024ca49>] ? __debug_show_held_locks+0x1e/0x20
[<c02237a1>] __might_sleep+0x100/0x107
[<c02aaea0>] __kmalloc+0xd1/0x1b4
[<c0397179>] ckpt_hdr_get+0x14/0x16
[<c0397d57>] ckpt_write_obj_type+0x25/0x73
[<c0397de9>] ckpt_write_err+0x22/0xa9
[<c024bb97>] ? get_lock_stats+0x16/0x38
[<c024bbc6>] ? put_lock_stats+0xd/0x21
[<c024bcd7>] ? lock_release_holdtime+0xfd/0x105
[<c023bb12>] ? __task_pid_nr_ns+0x84/0xc0
[<c0397f31>] tree_count_tasks+0xc1/0x22e
[<c03981ee>] do_checkpoint+0x150/0x532
[<c0397b0f>] ? ckpt_obj_hash_alloc+0x94/0x122
[<c0397388>] ? ckpt_ctx_alloc+0xd8/0xfd
[<c03974b3>] sys_checkpoint+0x6c/0x82
[<c0202b65>] syscall_call+0x7/0xb
BUG: scheduling while atomic: ckpt/3603/0x10000002
2 locks held by ckpt/3603:
#0: (tasklist_lock){.+.+.+}, at: [<c0397e9a>] tree_count_tasks+0x2a/0x22e
#1: (&sb->s_type->i_mutex_key#8){+.+.+.}, at: [<c0288fb6>] generic_file_aio_write+0x59/0xc2
Modules linked in:
Pid: 3603, comm: ckpt Not tainted 2.6.30-rc3 #15
Call Trace:
[<c02242e6>] __schedule_bug+0x63/0x6a
[<c05f8865>] __schedule+0x8f/0xa34
[<c03107d9>] ? journal_stop+0x24d/0x258
[<c03107d9>] ? journal_stop+0x24d/0x258
[<c0203583>] ? ftrace_call+0x5/0x8
[<c0203583>] ? ftrace_call+0x5/0x8
[<c028f2a2>] ? put_page+0xe/0xf1
[<c02f96fd>] ? ext3_writeback_write_end+0xd5/0x102
[<c0203583>] ? ftrace_call+0x5/0x8
[<c05f9221>] schedule+0x17/0x30
[<c0224b67>] __cond_resched+0x26/0x3f
[<c05f9337>] _cond_resched+0x29/0x34
[<c0288094>] generic_file_buffered_write+0x141/0x253
[<c028874c>] __generic_file_aio_write_nolock+0x3d7/0x40f
[<c05f9fa6>] ? mutex_lock_nested+0x279/0x2b9
[<c0288fcb>] generic_file_aio_write+0x6e/0xc2
[<c02f70b5>] ext3_file_write+0x1f/0x92
[<c02aef31>] do_sync_write+0xb0/0xee
[<c023e460>] ? autoremove_wake_function+0x0/0x38
[<c0367279>] ? selinux_file_permission+0xa1/0xa5
[<c036328e>] ? security_file_permission+0x14/0x16
[<c02aee81>] ? do_sync_write+0x0/0xee
[<c02af947>] vfs_write+0x8f/0x133
[<c03975bb>] ckpt_kwrite+0x50/0x95
[<c0397d79>] ckpt_write_obj_type+0x47/0x73
[<c0397de9>] ckpt_write_err+0x22/0xa9
[<c024bb97>] ? get_lock_stats+0x16/0x38
[<c024bbc6>] ? put_lock_stats+0xd/0x21
[<c024bcd7>] ? lock_release_holdtime+0xfd/0x105
[<c023bb12>] ? __task_pid_nr_ns+0x84/0xc0
[<c0397f31>] tree_count_tasks+0xc1/0x22e
[<c03981ee>] do_checkpoint+0x150/0x532
[<c0397b0f>] ? ckpt_obj_hash_alloc+0x94/0x122
[<c0397388>] ? ckpt_ctx_alloc+0xd8/0xfd
[<c03974b3>] sys_checkpoint+0x6c/0x82
[<c0202b65>] syscall_call+0x7/0xb
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-05-14 16:26 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14 15:53 c/r updates Oren Laadan
[not found] ` <4A0C3E84.1040702-eQaUEPhvms7ENvBUuze7eA@public.gmane.org>
2009-05-14 16:26 ` Nathan Lynch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.