Messages in this thread | | | Date | Mon, 20 Sep 2010 12:41:43 -0700 | From | Andrew Morton <> | Subject | Re: [RFC][PATCH 2/2] kernel: extract thread types from task_struct::flags |
| |
On Mon, 20 Sep 2010 21:25:16 +0200 Peter Zijlstra <peterz@infradead.org> wrote:
> So can you agree with Linus' proposal of simply moving all type like > bits over to a new word, or would you rather see the linear type field > with an extra helper; possibly part of the existing ->flags field?
No strong feelings either way, really.
One thing we should keep an eye out for is the size/speed of code at the client callsites. Plucking a field of bits out of the flags word and then treating that as a scalar would generate quite a bit of code, I expect. Let's not do that.
| |