[lkml]   [2007]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] Fix preemptible lazy mode bug
    Rusty Russell wrote:
    > static inline void arch_flush_lazy_mmu_mode(void)
    > {
    > - PVOP_VCALL1(set_lazy_mode, PARAVIRT_LAZY_FLUSH);
    > + if (unlikely(__get_cpu_var(paravirt_lazy_mode) == PARAVIRT_LAZY_MMU))
    > + arch_leave_lazy_mmu_mode();
    > }

    This changes the semantics a bit; previously "flush" would flush
    anything pending but leave us in lazy mode. This just drops lazymode

    I guess if we assume that flushing is a rare event then its OK, but I
    think the name's a bit misleading. How does it differ from plain

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-09-04 15:45    [W:0.054 / U:32.564 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site