Linux Audio

Check our new training course

Loading...
v4.10.11
 1#ifndef MIGRATE_MODE_H_INCLUDED
 2#define MIGRATE_MODE_H_INCLUDED
 3/*
 4 * MIGRATE_ASYNC means never block
 5 * MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking
 6 *	on most operations but not ->writepage as the potential stall time
 7 *	is too significant
 8 * MIGRATE_SYNC will block when migrating pages
 9 */
10enum migrate_mode {
11	MIGRATE_ASYNC,
12	MIGRATE_SYNC_LIGHT,
13	MIGRATE_SYNC,
14};
15
16#endif		/* MIGRATE_MODE_H_INCLUDED */
v3.15
 1#ifndef MIGRATE_MODE_H_INCLUDED
 2#define MIGRATE_MODE_H_INCLUDED
 3/*
 4 * MIGRATE_ASYNC means never block
 5 * MIGRATE_SYNC_LIGHT in the current implementation means to allow blocking
 6 *	on most operations but not ->writepage as the potential stall time
 7 *	is too significant
 8 * MIGRATE_SYNC will block when migrating pages
 9 */
10enum migrate_mode {
11	MIGRATE_ASYNC,
12	MIGRATE_SYNC_LIGHT,
13	MIGRATE_SYNC,
14};
15
16#endif		/* MIGRATE_MODE_H_INCLUDED */