Re: [patch] threading enhancements, tid-2.5.48-C0

From: Luca Barbieri (ldb@ldb.ods.org)
Date: Thu Nov 21 2002 - 14:30:41 EST


> this method is quite dangerous as the register usage is largely ad-hoc in
> the x86 lowlevel code. Eg. your %ebx use clashes with that of kernel
> threads, which also go through ret_from_fork.
Yes, I realize that it was a bad idea, since bloat in task_struct can be
avoided by putting clear_tid in an union other temporary data (e.g.
*link_count), without using arch-specific code (and this is a obviously
a separate patch).



-
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/



This archive was generated by hypermail 2b29 : Sat Nov 23 2002 - 22:00:37 EST