Re: 2.6.16-rc1: 28ms latency when process with lots of swapped memory exits

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2006-03-14 at 22:01 +0100, Ingo Molnar wrote:
> hm, where does the latency come from? We do have a lockbreaker in 
> unmap_vmas():
> 
>                         if (need_resched() ||
>                                 (i_mmap_lock &&
> need_lockbreak(i_mmap_lock))) {
>                                 if (i_mmap_lock) {
>                                         *tlbp = NULL;
>                                         goto out;
>                                 }
>                                 cond_resched();
>                         }
> 
> 
> why doesnt this break up the 28ms latency?
> 

But the preempt count is >= 2, doesn't that mean some other lock must be
held also, or someone called preempt_disable?

Lee

-
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/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux