Messages in this thread | | | Date | Sat, 31 Mar 2007 01:11:55 -0700 | From | Jeremy Fitzhardinge <> | 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@vmware.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |