[PATCH v2 0/8] thread_info cleanups and stack caching

2016-09-15 Thread Andy Lutomirski
This is the last bit of the vmap stack pile. Now that thread_info is non-magical, we can free the thread stack as soon as the task is dead (without waiting for RCU) and then, if vmapped stacks are in use, cache the entire stack for reuse on the same cpu. This seems to be an overall speedup of

[PATCH v2 0/8] thread_info cleanups and stack caching

2016-09-15 Thread Andy Lutomirski
This is the last bit of the vmap stack pile. Now that thread_info is non-magical, we can free the thread stack as soon as the task is dead (without waiting for RCU) and then, if vmapped stacks are in use, cache the entire stack for reuse on the same cpu. This seems to be an overall speedup of