Why is irq_stack_union a union?

From: Andy Lutomirski
Date: Mon Aug 31 2015 - 17:01:21 EST


Why not just a struct?

Also, why is this all tangled up in gsbase initialization? And why
does irq_stack_ptr point 64 bytes from the top? And why does the
stack overflow thing look STACK_TOP_MARGIN == 128 bytes from the top?

Confused.

--Andy

--
Andy Lutomirski
AMA Capital Management, LLC
--
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/