Re: ZONE_PADDING wastes 4 bytes of the new cacheline

From: DaMouse (damouse_at_gmail.com)
Date: 10/21/04

  • Next message: hui: "Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8"
    Date:	Thu, 21 Oct 2004 21:21:55 +0100
    To: LKML <linux-kernel@vger.kernel.org>
    
    

    On Thu, 21 Oct 2004 13:54:41 -0500 (CDT), Adam Heath <doogie@debian.org> wrote:
    > On Thu, 21 Oct 2004, Andrea Arcangeli wrote:
    >
    > > On Thu, Oct 21, 2004 at 12:51:18PM +0200, Mikael Pettersson wrote:
    > > > Have you verified that? GCCs up to and including 2.95.3 and
    > > > early versions of 2.96 miscompiled the kernel when spinlocks
    > > > where empty structs on UP. I.e., you might not get a compile-time
    > > > error but runtime corruption instead.
    > >
    > > peraphs we should add a check on the compiler and force people to use
    > > gcc >= 3?
    > >
    > > Otherwise adding an #ifdef will fix 2.95, just like the spinlock does in
    > > UP.
    > >
    > > btw, the only machine where I still have gcc 2.95.3 is not uptodate
    > > enough to run 2.6 regardless of the fact 2.6 could compile on such
    > > machine or not.
    >
    > So compile a 2.6 kernel on the machine with 2.95.3 for another machine.
    >

    I think what he was referring to was that most machines with 2.95.x
    have older kernels anyway.

    -DaMouse

    -- 
    I know I broke SOMETHING but its there fault for not fixing it before me
    -
    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: hui: "Re: [patch] Real-Time Preemption, -RT-2.6.9-rc4-mm1-U8"

    Relevant Pages

    • Re: [patch] time_after_eq fix
      ... If it is "a good compiler" or "a really good compiler", ... > More majordomo info at http://vger.kernel.org/majordomo-info.html ... > Please read the FAQ at http://www.tux.org/lkml/ ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: What if?
      ... So though FAQ answers my question, ... There was support to compile Linux using g++ for a C compiler ... Rewriting Linux in C++ means fundamental redesign; ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.5+BK compile error: binfmt_elf on sparc64
      ... >> At the first glance I can't see what's wrong here. ... > The compiler is telling us that the condition is always false because a 32-bit ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • [PATCH]: drivers/connector/cn_proc.c typos
      ... and the compiler doesn't try to comprehend comments, ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)
    • Re: [PATCH][2.6] constant_test_bit doesnt like my gcc
      ... On Thursday 16 October 2003 06:22, Zwane Mwaikambo wrote: ... Does your compiler get this right? ... send the line "unsubscribe linux-kernel" in ... Please read the FAQ at http://www.tux.org/lkml/ ...
      (Linux-Kernel)