Messages in this thread | | | Date | Mon, 3 Nov 2008 09:21:48 +0100 | From | Ingo Molnar <> | Subject | Re: [PATCH] Identify which executable object the userspace address belongs to. Store thread group leader id, and use it to lookup the address in the process's map. We could have looked up the address on thread's map, but the thread might not exist by the |
| |
* Török Edwin <edwintorok@gmail.com> wrote:
> On 2008-11-03 09:47, Ingo Molnar wrote: > > * Török Edwin <edwintorok@gmail.com> wrote: > > > > > >> + struct task_struct *task; > >> + /* we do the lookup on the thread group leader, > >> + * since individual threads might have already quit! */ > >> > > > > please use the customary comment style: > > > > /* > > * Comment ..... > > * ...... goes here: > > */ > > > > > > . Can checkpatch.pl warn me of situations like this?
Cc:-ed Andy - it would be a useful feature indeed. (since there's no hard CodingStyle rule for it, it could be a default-off helper)
Ingo -- 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/
| |