SWAP_FLAG_PRIO_MASK
#define SWAP_FLAGS_VALID (SWAP_FLAG_PRIO_MASK | SWAP_FLAG_PREFER | \
prio = swap_flags & SWAP_FLAG_PRIO_MASK;