Re: [RFC 1/2] move binfmt filed to signal_struct

From: Roland McGrath
Date: Wed Jul 22 2009 - 18:04:46 EST


> > Because the binfmt is not different between threads in the same process,
> > it can be moved from task_struct to signal_struct.
>
> Seems like a logical cleanup to me.

IMHO binfmt belongs in mm_struct.

> We should rename signal_struct.

Indeed, it's in fact 'struct process'. But historically Linus has objected
to admitting that there is really a concept of process in the POSIX sense
that exists deep in the implementation (as it truly does for years now),
beyond "tasks that happen to share a lot of CLONE_* stuff". The name
signal_struct is sufficiently misleading to make it easier to retain the
fantasy he prefers. ;-)


Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/