Re: [PATCH v2 13/76] ARC: Low level IRQ/Trap/Exception Handling

From: Al Viro
Date: Fri Jan 18 2013 - 22:31:05 EST


On Fri, Jan 18, 2013 at 05:54:27PM +0530, Vineet Gupta wrote:

> + ; --- (Slow Path #3) notify_resume ---
> +.Lchk_notify_resume:
> + btst r9, TIF_NOTIFY_RESUME
> + blnz @do_notify_resume
> + b resume_user_mode_begin ; unconditionally back to U mode ret chks
> + ; for single exit point from this block

Umm... Can we even get there without NOTIFY_RESUME? Again, there's
future-proofing and there's laying minefields - think what will happen
if we *do* get there with some bit in _TIF_WORK_MASK that isn't recognized
by any of these cases. Looping forever?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/