[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <48C73EB8.8020405@zytor.com>
Date: Tue, 09 Sep 2008 20:27:52 -0700
From: "H. Peter Anvin" <hpa@...or.com>
To: heukelum@...tmail.fm
CC: linux-kernel@...r.kernel.org, mingo@...e.hu, ak@...e.de
Subject: Re: [RFC/PATCH] i386: handle all exceptions with interrupts off initially
heukelum@...tmail.fm wrote:
> From: Alexander van Heukelum <heukelum@...tmail.fm>
>
> x86_64 handles all exceptions with interrupts off initially, this
> bisectable patch set does the same for i386, in (very) small steps.
> If this is acceptable, it would make further unification of traps_32.c
> and traps_64.c a lot easier. If it is not... why?
>
The only reason not to is that one generally doesn't want to disable
interrupts unless necessary (bad for latency.) On 64 bits there are
stack switches which make disabling interrupts mandatory. The only
pitfall is if there is any code which is likely to take time, but I
highly doubt it.
In other words, it's not something we want to do "just because", but to
the extent that it provides real benefit, it makes sense.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists