mmap.c (83f2f0ed715eb15a8e13c07df479d65bbc10d8d5) | mmap.c (33e5d76979cf01e3834814fe0aea569d1d602c1a) |
---|---|
1/* 2 * mm/mmap.c 3 * 4 * Written by obz. 5 * 6 * Address space accounting code <alan@lxorguk.ukuu.org.uk> 7 */ 8 --- 2467 unchanged lines hidden (view full) --- 2476 mutex_unlock(&mm_all_locks_mutex); 2477} 2478 2479/* 2480 * initialise the VMA slab 2481 */ 2482void __init mmap_init(void) 2483{ | 1/* 2 * mm/mmap.c 3 * 4 * Written by obz. 5 * 6 * Address space accounting code <alan@lxorguk.ukuu.org.uk> 7 */ 8 --- 2467 unchanged lines hidden (view full) --- 2476 mutex_unlock(&mm_all_locks_mutex); 2477} 2478 2479/* 2480 * initialise the VMA slab 2481 */ 2482void __init mmap_init(void) 2483{ |
2484 vm_area_cachep = kmem_cache_create("vm_area_struct", 2485 sizeof(struct vm_area_struct), 0, 2486 SLAB_PANIC, NULL); | |
2487} | 2484} |