The field is only used in swap code.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -329,7 +329,9 @@ struct vm_area_struct { · 328 unmodified lines | ||
| 329 | 329 | struct file * vm_file; /* File we map to (can be NULL). */ |
| 330 | 330 | void * vm_private_data; /* was vm_pte (shared mem) */ |
| 331 | 331 | |
| 332 | +#ifdef CONFIG_SWAP | |
| 332 | 333 | atomic_long_t swap_readahead_info; |
| 334 | +#endif | |
| 333 | 335 | #ifndef CONFIG_MMU |
| 334 | 336 | struct vm_region *vm_region; /* NOMMU mapping region */ |
| 335 | 337 | #endif |