Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
kmap_types.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Tilera Corporation. All Rights Reserved.
3  *
4  * This program is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU General Public License
6  * as published by the Free Software Foundation, version 2.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
11  * NON INFRINGEMENT. See the GNU General Public License for
12  * more details.
13  */
14 
15 #ifndef _ASM_TILE_KMAP_TYPES_H
16 #define _ASM_TILE_KMAP_TYPES_H
17 
18 /*
19  * In 32-bit TILE Linux we have to balance the desire to have a lot of
20  * nested atomic mappings with the fact that large page sizes and many
21  * processors chew up address space quickly. In a typical
22  * 64-processor, 64KB-page layout build, making KM_TYPE_NR one larger
23  * adds 4MB of required address-space. For now we leave KM_TYPE_NR
24  * set to depth 8.
25  */
26 #define KM_TYPE_NR 8
27 
28 #endif /* _ASM_TILE_KMAP_TYPES_H */