News for hackers. Stuff that matters.
Re:The future of M:N threading by _wmd on Wednesday November 13, 2013 @07:07PM (#6729573)
Sorry yep, didn't see your reply earlier.

That's not to say threads aren't expensive, they still require several heavyweight struct allocations on the kernel side, e.g. struct task_struct, which I counted to 1k before getting bored (and wasn't even quarter way through the fields)

Edit: Linux git HEAD with Debian unstable .config:

(gdb) print sizeof(struct task_struct)

$1 = 1904

There are no comments on this comment yet.