4.14-stable review patch.  If anyone has any objections, please let me know.


From: John David Anglin <dave.ang...@bell.net>

[ Upstream commit da57c5414f49ef9e4bcb9ae0bbafd1d650b31411 ]

In testing, I found that the thread stack can be 16 kB when using an irq
stack.  Without it, the thread stack needs to be 32 kB. Currently, the irq
stack is 32 kB. While it probably could be 16 kB, I would prefer to leave it
as is for safety.

Signed-off-by: John David Anglin <dave.ang...@bell.net>
Signed-off-by: Helge Deller <del...@gmx.de>
Signed-off-by: Sasha Levin <alexander.le...@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gre...@linuxfoundation.org>
 arch/parisc/include/asm/thread_info.h |    5 +++++
 1 file changed, 5 insertions(+)

--- a/arch/parisc/include/asm/thread_info.h
+++ b/arch/parisc/include/asm/thread_info.h
@@ -35,7 +35,12 @@ struct thread_info {
 /* thread information allocation */
+#define THREAD_SIZE_ORDER      2 /* PA-RISC requires at least 16k stack */
 #define THREAD_SIZE_ORDER      3 /* PA-RISC requires at least 32k stack */
 /* Be sure to hunt all references to this down when you change the size of
  * the kernel stack */

Reply via email to