Andrew Morton wrote:
> On Sat, 31 Mar 2007 00:45:59 -0800 Zachary Amsden <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to