login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
July
»
20
Re: [PATCH] coredump: kill mm->core_done
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Oleg Nesterov <oleg@...>
To: Johannes Weiner <hannes@...>
Cc: Andrew Morton <akpm@...>, Roland McGrath <roland@...>, <linux-kernel@...>
Subject:
Re: [PATCH] coredump: kill mm->core_done
Date: Sunday, July 20, 2008 - 8:37 am
On 07/20, Johannes Weiner wrote:
quoted text
> > Oleg Nesterov <oleg@tv-sign.ru> writes: > > > On 07/20, Johannes Weiner wrote: > >> > >> Oleg Nesterov <oleg@tv-sign.ru> writes: > >> > >> > --- 26-rc2/kernel/exit.c~5_KILL_CORE_DONE 2008-07-13 19:58:19.000000000 +0400 > >> > +++ 26-rc2/kernel/exit.c 2008-07-15 17:06:58.000000000 +0400 > >> > @@ -680,7 +680,13 @@ static void exit_mm(struct task_struct * > >> > if (atomic_dec_and_test(&core_state->nr_threads)) > >> > complete(&core_state->startup); > >> > > >> > - wait_for_completion(&mm->core_done); > >> > + for (;;) { > >> > + set_task_state(tsk, TASK_UNINTERRUPTIBLE); > >> > + if (!self.task) /* see coredump_finish() */ > >> > >> kernel/exit.c: In function `exit_mm': > >> kernel/exit.c:686: error: `self' undeclared (first use in this function) > >> kernel/exit.c:686: error: (Each undeclared identifier is reported only once > >> kernel/exit.c:686: error: for each function it appears in.) > >> make[1]: *** [kernel/exit.o] Error 1 > > > > This is on top of other patches in -mm tree, > > > > coredump-zap_threads-comments-use-while_each_thread.patch > > introduce-pf_kthread-flag.patch > > kill-pf_borrowed_mm-in-favour-of-pf_kthread.patch > > coredump-zap_threads-must-skip-kernel-threads.patch > > coredump-elf_core_dump-skip-kernel-threads.patch > > coredump-turn-mm-core_startup_done-into-the-pointer-to-struct-core_state.patch > > coredump-move-mm-core_waiters-into-struct-core_state.patch > > coredump-simplify-core_state-nr_threads-calculation.patch > > coredump-turn-core_state-nr_threads-into-atomic_t.patch > > coredump-make-mm-core_state-visible-to-core_dump.patch > > coredump-construct-the-list-of-coredumping-threads-at-startup-time.patch > > coredump-elf_core_dump-use-core_state-dumper-list.patch > > coredump-elf_fdpic_core_dump-use-core_state-dumper-list.patch > > coredump-kill-mm-core_done.patch > > Sorry, I should have given more information. > > I was building -mm directly with all these patches applied. I did not > cherry-pick this exact patch into some other tree. > > But I still can not find anything defining `self' in these patches:
Because it was merged into -mm before the previous 4 patches by mistake, sorry. Just drop this one:
http://userweb.kernel.org/~akpm/mmotm/broken-out/coredump-kill-mm-core_done.patch
Oleg. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] coredump: kill mm->core_done
, Oleg Nesterov
, (Tue Jul 15, 10:07 am)
Re: [PATCH] coredump: kill mm->core_done
, Roland McGrath
, (Sat Jul 19, 11:20 pm)
Re: [PATCH] coredump: kill mm->core_done
, Oleg Nesterov
, (Sun Jul 20, 4:51 am)
Re: [PATCH] coredump: kill mm->core_done
, Johannes Weiner
, (Sat Jul 19, 7:31 pm)
Re: [PATCH] coredump: kill mm->core_done
, Oleg Nesterov
, (Sun Jul 20, 4:47 am)
Re: [PATCH] coredump: kill mm->core_done
, Johannes Weiner
, (Sun Jul 20, 7:35 am)
Re: [PATCH] coredump: kill mm->core_done
, Oleg Nesterov
, (Sun Jul 20, 8:37 am)
Re: [PATCH] coredump: kill mm->core_done
, Johannes Weiner
, (Sun Jul 20, 9:19 am)
Re: [PATCH] coredump: kill mm->core_done
, Oleg Nesterov
, (Tue Jul 15, 12:21 pm)
Re: [PATCH] coredump: kill mm->core_done
, Andrew Morton
, (Tue Jul 15, 6:44 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg KH
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Heiko Carstens
Re: -mm merge plans for 2.6.23 -- sys_fallocate
Tony Lindgren
[PATCH 37/90] ARM: OMAP: MPUIO wake updates
Greg Kroah-Hartman
[PATCH 001/196] Chinese: Add the known_regression URI to the HOWTO
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Benjamin Herrenschmidt
Re: powerpc allmodconfig
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
0 users
and
625 guests
online.
Syndicate