Suppose $\pi: X\rightarrow Y$ is a dominant morphism of integral $k$-schemes, where $k$ is characteristic $p>0$, and $X$ is smooth. What assumptions do we need for there to exist a dense open $U\subset Y$ over which $\pi$ is smooth?
For example, is it enough for $K(X)/K(Y)$ to be a separable extension?