Thread (32 messages) 32 messages, 3 authors, 2018-10-04

Re: [RFC PATCH v3 4/7] powerpc: regain entire stack space

From: Christophe LEROY <hidden>
Date: 2018-10-03 05:53:02
Also in: lkml


Le 03/10/2018 à 07:34, Nicholas Piggin a écrit :
On Mon,  1 Oct 2018 12:30:25 +0000 (UTC)
Christophe Leroy [off-list ref] wrote:
quoted
thread_info is not anymore in the stack, so the entire stack
can now be used.
Nice.
quoted
In the meantime, all pointers to the stacks are not anymore
pointers to thread_info so this patch changes them to void*
Wasn't this previously effectively already the case with patch
3/7? You had thread_info sized space left there, but it was not
used or initialized right? Does it make sense to move this part
of it to the previous patch?
Not really.

In 3/7 I changed the prototypes of two functions that really used the 
pointer as a task pointer only.

Here it change things that before 4/7 were really used as both stack 
pointers and thread_info pointers.

Christophe
Thanks,
Nick
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help