aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/swapfile.h
blob: 99e3ed469e8877b5983d52827d3d3bd514e18880 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _LINUX_SWAPFILE_H
#define _LINUX_SWAPFILE_H

extern unsigned long generic_max_swapfile_size(void);
unsigned long arch_max_swapfile_size(void);

/* Maximum swapfile size supported for the arch (not inclusive). */
extern unsigned long swapfile_maximum_size;
/* Whether swap migration entry supports storing A/D bits for the arch */
extern bool swap_migration_ad_supported;

#endif /* _LINUX_SWAPFILE_H */