Re: [PATCH 0/2] Per-task wait_queue_t

2014-06-12 Thread Rasmus Villemoes
Peter Zijlstra writes: > On Tue, Jun 10, 2014 at 02:29:17PM +0200, Rasmus Villemoes wrote: >> This is an attempt to reduce the stack footprint of various functions >> (those using any of the wait_event_* macros), by removing the need to >> allocate a wait_queue_t on the stack and instead use a

Re: [PATCH 0/2] Per-task wait_queue_t

2014-06-12 Thread Rasmus Villemoes
Peter Zijlstra pet...@infradead.org writes: On Tue, Jun 10, 2014 at 02:29:17PM +0200, Rasmus Villemoes wrote: This is an attempt to reduce the stack footprint of various functions (those using any of the wait_event_* macros), by removing the need to allocate a wait_queue_t on the stack and

Re: [PATCH 0/2] Per-task wait_queue_t

2014-06-10 Thread Peter Zijlstra
On Tue, Jun 10, 2014 at 02:29:17PM +0200, Rasmus Villemoes wrote: > This is an attempt to reduce the stack footprint of various functions > (those using any of the wait_event_* macros), by removing the need to > allocate a wait_queue_t on the stack and instead use a single instance > embedded in

[PATCH 0/2] Per-task wait_queue_t

2014-06-10 Thread Rasmus Villemoes
This is an attempt to reduce the stack footprint of various functions (those using any of the wait_event_* macros), by removing the need to allocate a wait_queue_t on the stack and instead use a single instance embedded in task_struct. I'm not really sure where the best place to put it is; I just

[PATCH 0/2] Per-task wait_queue_t

2014-06-10 Thread Rasmus Villemoes
This is an attempt to reduce the stack footprint of various functions (those using any of the wait_event_* macros), by removing the need to allocate a wait_queue_t on the stack and instead use a single instance embedded in task_struct. I'm not really sure where the best place to put it is; I just

Re: [PATCH 0/2] Per-task wait_queue_t

2014-06-10 Thread Peter Zijlstra
On Tue, Jun 10, 2014 at 02:29:17PM +0200, Rasmus Villemoes wrote: This is an attempt to reduce the stack footprint of various functions (those using any of the wait_event_* macros), by removing the need to allocate a wait_queue_t on the stack and instead use a single instance embedded in