Thread (25 messages) 25 messages, 3 authors, 2019-11-26

Re: [PATCH v3 06/15] powerpc/32: prepare for CONFIG_VMAP_STACK

From: Christophe Leroy <hidden>
Date: 2019-10-18 06:46:39
Also in: linux-mm, lkml


Le 17/10/2019 à 09:36, Andrew Donnellan a écrit :
On 10/9/19 7:16 pm, Christophe Leroy wrote:
quoted
+#if defined(CONFIG_VMAP_STACK) && CONFIG_THREAD_SHIFT < PAGE_SHIFT
+#define THREAD_SHIFT        PAGE_SHIFT
+#else
  #define THREAD_SHIFT        CONFIG_THREAD_SHIFT
+#endif

  #define THREAD_SIZE        (1 << THREAD_SHIFT)
Looking at 64-bit book3s: with 64K pages, this results in a THREAD_SIZE 
that's too large for immediate mode arithmetic operations, which is 
annoying. Hmm.
Which operation are you thinking about ?

For instance, 'addi' can't be used anymore, but 'addis' can.

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