lkml.org 
[lkml]   [2006]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: 2.6.16-rc1: 28ms latency when process with lots of swapped memory exits
    From
    Date
    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 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/

    \
     
     \ /
      Last update: 2006-03-14 23:41    [W:0.019 / U:0.392 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site