The position and stack sizes matter. For instance, if I'm sb vs bb, I'd say all in is in order if I'm seriously short stacked.