1 ============================== 2 remap_file_pages() system call 3 ============================== 4 5 The remap_file_pages() system call is used to 6 that is, a mapping in which the pages of the f 7 nonsequential order in memory. The advantage o 8 over using repeated calls to mmap(2) is that t 9 require the kernel to create additional VMA (V 10 structures. 11 12 Supporting of nonlinear mapping requires signi 13 code in kernel virtual memory subsystem includ 14 nonlinear mapping work kernel need a way to di 15 entries from entries with file offset (pte_fil 16 PTE for this purpose. PTE flags are scarce res 17 architectures. It would be nice to free up the 18 19 Fortunately, there are not many users of remap 20 It's only known that one enterprise RDBMS impl 21 on 32-bit systems to map files bigger than can 22 virtual address space. This use-case is not cr 23 systems are widely available. 24 25 The syscall is deprecated and replaced it with 26 emulation creates new VMAs instead of nonlinea 27 work slower for rare users of remap_file_pages 28 29 One side effect of emulation (apart from perfo 30 vm.max_map_count limit more easily due to addi 31 DEFAULT_MAX_MAP_COUNT for more details on the
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.