Re: PTHREAD_INVARIANTS in 5.x

From: Mikhail Teterin (mi+mx_at_aldan.algebra.com)
Date: 05/11/05

  • Next message: Billy Newsom: "Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?"
    To: Daniel Eischen <deischen@freebsd.org>
    Date: Tue, 10 May 2005 23:43:41 -0400
    
    

    = > As we were counting down to 5.3-RELEASE, I noticed, that all
    = > threading libraries still compile with PTHREAD_INVARIANTS. My
    = > suggestion to have this = > fixed was shutdown as not enough time
    = > was left for testing the 5.3.

    = > Can we have these things turned off NOW, so that, at least, 5.5
    = > stands a chance? Thanks!
    =
    = What makes you think there is a measurable performance impact with
    = them on?

    Interesting... Are you implying, the debugging code makes no difference,
    or are genuinly asking?

    There are additional steps in the code, that are only done when
    the define is on. Does not look like much in libthr, but c_r's
    uthread/uthread_mutex.c seems quite affected, for example. And you know
    it, of course...

    = Regardless, it would first need to be in -current, not -stable.

    I thought, the debugging features (WITNESS INVARIANTS) are always on in
    -current, but are turned off in -stable for maximum performance. Is that
    no longer true?

            -mi

    _______________________________________________
    freebsd-stable@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-stable
    To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"


  • Next message: Billy Newsom: "Re: nfs bug & df: Can I lock up my kernel and overflow this buffer?"

    Relevant Pages

    • RE: Remote debugging with VC2008
      ... just select native as the debugging code type. ... you first separate your pure managed code files and pure native code files ... select "Compile with Common Lanage Runtime support" as "No Common Language ... Additionally you can even use "#pragma managed ...
      (microsoft.public.vc.debugger)
    • Re: PTHREAD_INVARIANTS in 5.x
      ... On Tue, 10 May 2005, Mikhail Teterin wrote: ... Are you implying, the debugging code makes no difference, ... Does not look like much in libthr, ...
      (freebsd-stable)