swap: discard while swapping only if SWAP_FLAG_DISCARD