[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <460E17CB.6010609@goop.org>
Date: Sat, 31 Mar 2007 01:11:55 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Andrew Morton <akpm@...ux-foundation.org>
CC: Zachary Amsden <zach@...are.com>, Andi Kleen <ak@...e.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] VMI paravirt-ops bugfix for 2.6.21
Andrew Morton wrote:
> On Sat, 31 Mar 2007 00:45:59 -0800 Zachary Amsden <zach@...are.com> wrote:
>
>
>> +static void vmi_set_lazy_mode(int new_mode)
>> +{
>> + static DEFINE_PER_CPU(int, mode);
>> + static DEFINE_PER_CPU(unsigned long, flags);
>> + int cpu = smp_processor_id();
>>
>
> That will cause upset if CONFIG_PREEMPT=y?
>
It must be called under the pagetable lock, so preempt should already be
disabled.
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