Re: [PATCH 0/8] kernel/fork: Move thread stack free otu of the scheduler path.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-kernel@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, tglx@xxxxxxxxxxxxx
- Subject: Re: [PATCH 0/8] kernel/fork: Move thread stack free otu of the scheduler path.
- From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
- Date: Thu, 18 Nov 2021 15:38:50 +0100
- Cc: Ingo Molnar <mingo@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Andy Lutomirski <luto@xxxxxxxxxx>, Juri Lelli <juri.lelli@xxxxxxxxxx>, Vincent Guittot <vincent.guittot@xxxxxxxxxx>, Dietmar Eggemann <dietmar.eggemann@xxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Ben Segall <bsegall@xxxxxxxxxx>, Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>
- In-reply-to: <20211118143452.136421-1-bigeasy@linutronix.de>
- References: <20211118143452.136421-1-bigeasy@linutronix.de>
+ tglx.
It starts at
https://lore.kernel.org/all/20211118143452.136421-1-bigeasy@xxxxxxxxxxxxx/
On 2021-11-18 15:34:44 [+0100], To linux-kernel@xxxxxxxxxxxxxxx wrote:
>
> This is a follup-up on the patch
> sched: Delay task stack freeing on RT
> https://lkml.kernel.org/r/20210928122411.593486363@xxxxxxxxxxxxx
>
> It addresses the review feedback:
> - Decouple stack accounting from its free invocation. The accounting
> happens in do_exit(), the final free call happens later.
>
> - Add put_task_stack_sched() to finish_task_switch(). Here the VMAP
> stack is cached only. If it fails, or in the !VMAP case then the final
> free happens in delayed_put_task_struct(). This is also an oportunity
> to cache the stack.
Sebastian
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]