Re: crash in entry.S restore_all, 2.6.12-rc2, x86, PAGEALLOC

From: Ingo Molnar (mingo_at_elte.hu)
Date: 04/07/05

  • Next message: Oliver Neukum: "Re: non-free firmware in kernel modules, aggregation and unclear copyright notice."
    Date:	Thu, 7 Apr 2005 16:51:50 +0200
    To: Linus Torvalds <torvalds@osdl.org>
    
    

    * Linus Torvalds <torvalds@osdl.org> wrote:

    > > > pushfl

    > After all, I very strongly suspect that we don't actually really
    > _care_ if eflags stays the same over a system call, and I could see
    > that some dynamic CPU's might prefer not having to push an eflags
    > value that just got changed by the "sti", so it _might_ save several
    > cycles to avoid that dependency, and also obviously avoid a subtle
    > dependency on a sw level that the previous patch clearly introduced.
    >
    > Anybody willing to time it? ;)

    i can tell you without any measurement that pushfl is slower by a couple
    of cycles than a simple pushl $0x00010046, on basically all x86 CPUs.
    And since we only support SYENTER from 32-bit mode and we dont guarantee
    flags to be saved, it isnt all that incorrect to do?

            Ingo
    -
    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: Oliver Neukum: "Re: non-free firmware in kernel modules, aggregation and unclear copyright notice."

    Relevant Pages

    • Re: To understand OOP better...
      ... > making callers independent from callees, ... if you sketch the dependency graphs of procedural programs and OO ... I can assert that DIP has been more useful ... > Most of them have cycles. ...
      (comp.object)
    • Re: F90 module interdependencies
      ... I think what the author is really decrying is long dependency ... cycles, i.e. ones that loop through so many packages that you have to ... implement the interface and the second class use the interface. ...
      (comp.lang.fortran)
    • Re: ATL71.dll cound not be found even if i selected static link to ATL dll
      ... AtlAxWinInitand AtlAxGetControl) and I'm also having trouble ... making it link statically so I can avoid the atl71.dll dependency. ... These macros should be taken care of for you when you change the project ...
      (microsoft.public.vc.atl)
    • Re: Error in opening the Library module file
      ... allowed by the standard but it will confuse most compilers -- they ... module should be compiled first (esp. ... try to avoid the situation -- the solution is often ... How to avoid cyclic dependency at first? ...
      (comp.lang.fortran)
    • Re: changing the URL without reloading the page
      ... If an XMLHttpRequest is used then a dependency on javascript is quite ... likely (at least the measures required to avoid the dependency would ... not available on a proportion of script enabled IE browsers on the ...
      (comp.lang.javascript)