Re: sys_sched_yield fast path

From: Andi Kleen (ak@suse.de)
Date: Sat Mar 10 2001 - 11:59:33 EST

  • Next message: Marc Lehmann: "Re: 2.4.2 + aic7xxx still broken"

    Davide Libenzi <davidel@xmailserver.org> writes:

    > Probably the rate at which is called sys_sched_yield() is not so high to let
    > the performance improvement to be measurable.

    LinuxThreads mutexes call sched_yield() when a lock is locked, so when you
    have a multithreaded program with some lock contention it'll be called a lot.

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



    This archive was generated by hypermail 2b29 : Sat Mar 10 2001 - 12:12:02 EST