Cache bypassing and flushing