It’s difficult in such a confined environment. As hairyben says...a heat alarm is usually best when cooking (I've learnt from experience), but how near is the smoke alarm in the hall way? If it’s right outside then you could get the benefit of both. This page is quite useful, it outlines some...