Re: [PATCH 3/8] kernel/fork, IA64: Provide a alloc_thread_stack_node() for IA64.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: linux-kernel@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH 3/8] kernel/fork, IA64: Provide a alloc_thread_stack_node() for IA64.
- From: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
- Date: Mon, 14 Feb 2022 19:00:26 +0100
- Cc: Andy Lutomirski <luto@xxxxxxxxxx>, Ben Segall <bsegall@xxxxxxxxxx>, Daniel Bristot de Oliveira <bristot@xxxxxxxxxx>, Dietmar Eggemann <dietmar.eggemann@xxxxxxx>, Ingo Molnar <mingo@xxxxxxxxxx>, Juri Lelli <juri.lelli@xxxxxxxxxx>, Peter Zijlstra <peterz@xxxxxxxxxxxxx>, Steven Rostedt <rostedt@xxxxxxxxxxx>, Thomas Gleixner <tglx@xxxxxxxxxxxxx>, Vincent Guittot <vincent.guittot@xxxxxxxxxx>
- In-reply-to: <20220125152652.1963111-4-bigeasy@linutronix.de>
- References: <20220125152652.1963111-1-bigeasy@linutronix.de> <20220125152652.1963111-4-bigeasy@linutronix.de>
On 2022-01-25 16:26:47 [+0100], To linux-kernel@xxxxxxxxxxxxxxx wrote:
> diff --git a/kernel/fork.c b/kernel/fork.c
> index c47dcba5d66d2..a0d58ae6fac76 100644
> --- a/kernel/fork.c
> +++ b/kernel/fork.c
> @@ -330,6 +330,22 @@ void thread_stack_cache_init(void)
…
>
> +static void free_thread_stack(struct task_struct *tsk, bool cache_only)
This cache_only parameter shouldn't be here…
> +{
> + arch_free_thread_stack(tsk);
> +}
> +
> #endif /* !CONFIG_ARCH_THREAD_STACK_ALLOCATOR */
>
> /* SLAB cache for signal_struct structures (tsk->signal) */
Sebastian
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]