Application of stability theory to laminar flow control