On 04/11, Ingo Oeser wrote: > > While you are at it: Could you please avoid calculating current over > and over again? > > Just calculate it once and use the task_struct pointer. Ironically, de_thread() has 'tsk' parameter which is equal to 'current'. Oleg. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- From: Ingo Oeser <[email protected]>
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- References:
- [PATCH rc1-mm] de_thread: fix deadlockable process addition
- From: Oleg Nesterov <[email protected]>
- [PATCH] de_thread: Don't confuse users do_each_thread.
- From: [email protected] (Eric W. Biederman)
- [PATCH] de_thread: Don't confuse users do_each_thread.
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- From: Ingo Oeser <[email protected]>
- [PATCH rc1-mm] de_thread: fix deadlockable process addition
- Prev by Date: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Next by Date: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Previous by thread: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Next by thread: Re: [PATCH] de_thread: Don't confuse users do_each_thread.
- Index(es):