Re: [PATCH 1/2] utrace core

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Dobriyan
Date: Tuesday, August 26, 2008 - 3:55 pm

On Tue, Aug 26, 2008 at 03:01:57PM -0700, Roland McGrath wrote:

I'll says this again: tracehook_* is pointless abstraction because
there will be no second generic tracing facility. The author of second
one will be asked what is bad in utrace with very high odds.


Again, embed struct utrace directly into task_struct. task_struct
lifetime rules are way more tested than struct utrace ones.

Add simple spinlock guarding all accesses (OK, I haven't looked very
closely if it's possible)

Nobody needs hundred-line utrace_attach with CPU barriers.

Nobody needs RCU.

Nobody needs restart logic.

Reminder: that struct utrace double-free was P_I_T_A to debug.

I'll check last utrace oops we talked is still there and bogus patch was applied
(sorry, haven't slept night at all). And run to confirm that attach/detach/exec
program still crashes it. There is PREEMPT_RCU now so it will be even more not
funny.



All this junk will dissapear. I even posted proff-of-concept patch.


INIT_RCU_HEAD is not needed, call_rcu() will overwrite rcu head unconditionally.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/2] utrace, Roland McGrath, (Tue Aug 26, 3:01 pm)
[PATCH 1/2] utrace core, Roland McGrath, (Tue Aug 26, 3:01 pm)
[PATCH 2/2] utrace: ptrace cooperation, Roland McGrath, (Tue Aug 26, 3:02 pm)
Re: [PATCH 0/2] utrace, Alexey Dobriyan, (Tue Aug 26, 3:34 pm)
Re: [PATCH 0/2] utrace, Christoph Hellwig, (Tue Aug 26, 3:39 pm)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Tue Aug 26, 3:55 pm)
Re: [PATCH 0/2] utrace, Frank Ch. Eigler, (Tue Aug 26, 5:17 pm)
Re: [PATCH 0/2] utrace, Peter Zijlstra, (Tue Aug 26, 7:03 pm)
Re: [PATCH 0/2] utrace, Christoph Hellwig, (Wed Aug 27, 6:54 am)
Re: [PATCH 0/2] utrace, Alexey Dobriyan, (Wed Aug 27, 8:34 am)
Re: [PATCH 0/2] utrace, Ananth N Mavinakayan ..., (Wed Aug 27, 9:40 am)
Re: [PATCH 0/2] utrace, Alexey Dobriyan, (Wed Aug 27, 11:50 am)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Wed Aug 27, 1:04 pm)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Wed Aug 27, 2:32 pm)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Wed Aug 27, 2:46 pm)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Wed Aug 27, 3:00 pm)
Re: [PATCH 0/2] utrace, Frank Ch. Eigler, (Fri Aug 29, 12:04 pm)
Re: [PATCH 2/2] utrace: ptrace cooperation, Christoph Hellwig, (Sat Aug 30, 6:38 am)
Re: [PATCH 0/2] utrace, Christoph Hellwig, (Sat Aug 30, 6:40 am)
Re: [PATCH 0/2] utrace, Christoph Hellwig, (Sat Aug 30, 6:43 am)
Re: [PATCH 1/2] utrace core, Christoph Hellwig, (Sat Aug 30, 6:45 am)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Sat Aug 30, 8:05 am)
Re: [PATCH 0/2] utrace, Roland McGrath, (Wed Sep 3, 5:09 am)
Re: [PATCH 2/2] utrace: ptrace cooperation, Roland McGrath, (Wed Sep 3, 5:10 am)
Re: [PATCH 1/2] utrace core, Roland McGrath, (Wed Sep 3, 5:11 am)
Re: [PATCH 1/2] utrace core, Roland McGrath, (Wed Sep 3, 5:11 am)
Re: [PATCH 1/2] utrace core, Petr Tesarik, (Wed Sep 3, 5:58 am)
Re: [PATCH 1/2] utrace core, Alexey Dobriyan, (Wed Sep 3, 10:01 am)
Re: [PATCH 1/2] utrace core, Roland McGrath, (Wed Sep 3, 11:08 am)
Re: [PATCH 0/2] utrace, Christoph Hellwig, (Wed Sep 3, 11:37 am)
Re: [PATCH 2/2] utrace: ptrace cooperation, Christoph Hellwig, (Wed Sep 3, 11:41 am)
Re: [PATCH 1/2] utrace core, Christoph Hellwig, (Wed Sep 3, 11:44 am)
Re: [PATCH 1/2] utrace core, Christoph Hellwig, (Wed Sep 3, 11:46 am)
Re: [PATCH 1/2] utrace core, Petr Tesarik, (Thu Sep 4, 2:03 am)
Re: [PATCH 0/2] utrace, Peter Zijlstra, (Mon Oct 6, 1:47 pm)