From: Alan Cox Date: Thu, 19 Feb 2015 23:20:35 +0000 (+0000) Subject: bank32k: add reminder about stack X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=915aa1eeebcba865a55f5726db9e9e4202fec3f4;p=FUZIX.git bank32k: add reminder about stack --- 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)