diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-26 13:29:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2019-09-26 13:29:42 -0400 |
commit | cbafe18c71028d5e0ee1626b4776fea5d5824a78 (patch) | |
tree | 2bb7db7db4ed8df2801f7c16553c69fb27379f7f /include/linux/swap.h | |
parent | f41def397161053eb0d3ed6861ef65985efbf293 (diff) | |
parent | a22fea94992a2bc5328005e62f368413ede49c14 (diff) |
Merge branch 'akpm' (patches from Andrew)
Merge more updates from Andrew Morton:
- almost all of the rest of -mm
- various other subsystems
Subsystems affected by this patch series:
memcg, misc, core-kernel, lib, checkpatch, reiserfs, fat, fork,
cpumask, kexec, uaccess, kconfig, kgdb, bug, ipc, lzo, kasan, madvise,
cleanups, pagemap
* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (77 commits)
arch/sparc/include/asm/pgtable_64.h: fix build
mm: treewide: clarify pgtable_page_{ctor,dtor}() naming
ntfs: remove (un)?likely() from IS_ERR() conditions
IB/hfi1: remove unlikely() from IS_ERR*() condition
xfs: remove unlikely() from WARN_ON() condition
wimax/i2400m: remove unlikely() from WARN*() condition
fs: remove unlikely() from WARN_ON() condition
xen/events: remove unlikely() from WARN() condition
checkpatch: check for nested (un)?likely() calls
hexagon: drop empty and unused free_initrd_mem
mm: factor out common parts between MADV_COLD and MADV_PAGEOUT
mm: introduce MADV_PAGEOUT
mm: change PAGEREF_RECLAIM_CLEAN with PAGE_REFRECLAIM
mm: introduce MADV_COLD
mm: untag user pointers in mmap/munmap/mremap/brk
vfio/type1: untag user pointers in vaddr_get_pfn
tee/shm: untag user pointers in tee_shm_register
media/v4l2-core: untag user pointers in videobuf_dma_contig_user_get
drm/radeon: untag user pointers in radeon_gem_userptr_ioctl
drm/amdgpu: untag user pointers
...
Diffstat (limited to 'include/linux/swap.h')
-rw-r--r-- | include/linux/swap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h index de2c67a33b7e..063c0c1e112b 100644 --- a/include/linux/swap.h +++ b/include/linux/swap.h | |||
@@ -340,6 +340,7 @@ extern void lru_add_drain_cpu(int cpu); | |||
340 | extern void lru_add_drain_all(void); | 340 | extern void lru_add_drain_all(void); |
341 | extern void rotate_reclaimable_page(struct page *page); | 341 | extern void rotate_reclaimable_page(struct page *page); |
342 | extern void deactivate_file_page(struct page *page); | 342 | extern void deactivate_file_page(struct page *page); |
343 | extern void deactivate_page(struct page *page); | ||
343 | extern void mark_page_lazyfree(struct page *page); | 344 | extern void mark_page_lazyfree(struct page *page); |
344 | extern void swap_setup(void); | 345 | extern void swap_setup(void); |
345 | 346 | ||
@@ -364,6 +365,7 @@ extern int vm_swappiness; | |||
364 | extern int remove_mapping(struct address_space *mapping, struct page *page); | 365 | extern int remove_mapping(struct address_space *mapping, struct page *page); |
365 | extern unsigned long vm_total_pages; | 366 | extern unsigned long vm_total_pages; |
366 | 367 | ||
368 | extern unsigned long reclaim_pages(struct list_head *page_list); | ||
367 | #ifdef CONFIG_NUMA | 369 | #ifdef CONFIG_NUMA |
368 | extern int node_reclaim_mode; | 370 | extern int node_reclaim_mode; |
369 | extern int sysctl_min_unmapped_ratio; | 371 | extern int sysctl_min_unmapped_ratio; |