On 1/16/07, V . Atoka Sema <atrockz@xxxxxxxxx> wrote:
hi everyone, Im a kernel newbie, i was trying to going throught Temporary kernel mappings function kmap_atomic from linux 2.6.18 and i got some doubt, need some help... For mapping of fixed-mapped linear addresses we are provided with a region at the end of 4th GB ie from FIXADDR_START and FIXADDR_TOP. - The size of region depends on number of CPUs. - A slot is provided for each CPU and each slots contains numbers of window, around 13. what is the size of each window, is it of 1 page size each ?
Reading through the code, it looks like it.
what will be tha value of FIX_KMAP_BEGIN in this function, kmap_atomic ?
It'll depend upon the kernel configuration. You can find out the actual value by looking at the preprocessed source (or may be directly printing it? :-)) -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/