Re: [PATCH] cpuset semaphore depth check optimize

From: Paul Jackson (pj_at_sgi.com)
Date: 09/14/05

  • Next message: Chris Wright: "Re: 2.6.13.1 locks machine after some time, 2.6.12.5 work fine"
    Date:	Tue, 13 Sep 2005 15:21:53 -0700
    To: Ingo Molnar <mingo@elte.hu>
    
    

    Ingo, confirming Linus's suggestion:
    > btw., this is how the -rt tree implements (read-)nesting for rwsems and
    > rwlocks. The more sharing and embedding of types and primitives, the
    > more compact the whole code becomes, and the easier it is to change
    > fundamental properties.

    I completely agree.

    Such is the art of fine programming.

    My basic concern was that Linus was trying to put lipstick
    on a pig.

    If one gets the underlying structure right, then one should
    package it in the best way one can, such as you and Linus
    describe.

    If one has a hack, better to leave it naked to the world,
    with a minimum of artiface.

    That way it attracts attention from those who know better
    and are repulsed. And that way, when something better
    comes along, it will be easy to remove the simple hack.

    It looks like Roman is on my case. This is good.

    (Of course, if you have a barn full of hogs, maybe
    it's time to paint the barn ;).

    -- 
                      I won't rest till it's the best ...
                      Programmer, Linux Scalability
                      Paul Jackson <pj@sgi.com> 1.925.600.0401
    -
    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/
    

  • Next message: Chris Wright: "Re: 2.6.13.1 locks machine after some time, 2.6.12.5 work fine"

    Relevant Pages

    • Re: The price of SELinux (CPU)
      ... computers, it's probable that even a 2:1 slowdown would still result in ... I can't speak for Linus' thinking of course, but I have worked in secure ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: USB making time drift [was Re: dynamic-hz]
      ... >>That seems quite an hack, note I did an hack too and it make the ... that might also reduce the obviousness of the irq activity in ... > low level audio src is in use, like the sub-millivolt levels that come ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.8-rc2-mm1: DVB: "errno" undefined
      ... which hopefully won't happen before the affected modules are properly ... fixed, Linus' tree isn't affected. ... There had been need of rain for many days. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Syscall table AKA hijacking syscalls
      ... > infrastructure for syscall hijacking when really needed. ... This is a hack, ... The competent programmer is fully aware of the strictly limited size of ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [PATCH] [request for inclusion] Realtime LSM
      ... I could hack the threads that the test actually uses just to get some ... that will break some existing JACK clients. ... I usually call them `realtime threads' and `non-realtime threads'. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)