From 915aa1eeebcba865a55f5726db9e9e4202fec3f4 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Thu, 19 Feb 2015 23:20:35 +0000 Subject: [PATCH] bank32k: add reminder about stack --- Kernel/bank32k.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Kernel/bank32k.c b/Kernel/bank32k.c index b5aaa653..34d70723 100644 --- a/Kernel/bank32k.c +++ b/Kernel/bank32k.c @@ -34,6 +34,8 @@ * then copy in the new one * - Provide a bank32_invalidate_cache definition to clear the cached page * when it is freed. + * - Switch stacks when you switch to and from full kernel mapping to user + * mappings as there is no common space for the kernel stacks. * * If you are also doing swapping then you need to account for the cache * by providing a swap_flush_cache() method (see swap.c) -- 2.34.1