[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4733A7A5.9000900@goop.org>
Date: Thu, 08 Nov 2007 16:19:49 -0800
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Andi Kleen <ak@...e.de>
CC: Christoph Lameter <clameter@....com>, linux-kernel@...r.kernel.org,
linux-mm@...ck.org,
Mathieu Desnoyers <mathieu.desnoyers@...ymtl.ca>
Subject: Re: Some interesting observations when trying to optimize vmstat
handling
Andi Kleen wrote:
> The only problem is that there might be some code who relies on
> restore_flags() restoring other flags that IF, but at least for interrupts
> and local_irq_save/restore it should be fine to change.
>
I don't think so. We don't bother to save/restore the other flags in
Xen paravirt and it doesn't seem to cause a problem. The semantics
really are specific to the state of the interrupt flag.
J
-
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