Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables

From: H. Peter Anvin (hpa_at_zytor.com)
Date: 03/02/04

  • Next message: Jaco Kroon: "Re: 2.6.3 adaptec I2O will not compile"
    To: linux-kernel@vger.kernel.org
    Date:	Tue, 2 Mar 2004 06:47:53 +0000 (UTC)
    
    

    Followup to: <m1vflp81kq.fsf@ebiederm.dsl.xmission.com>
    By author: ebiederm@xmission.com (Eric W. Biederman)
    In newsgroup: linux.dev.kernel
    >
    > I think I have accounted for the sub architectures but I don't have
    > the hardware to test them. For voyager and VISWS I actually changed
    > some code so I would appreciate a confirmation I didn't break
    > anything.
    >

    For VISWS I think you actually need to turn paging off explicitly.
    Also, you probably need to check that you didn't break 4G/4G,
    especially on SMP.

    I would also like to remove the magic %bx, which I did in the version
    of my patch sent to akpm and which is now in -mm (basically the SMP
    trampoline jumps to a different entrypoint instead.) In that patch,
    %ebx is still used as a flag, but it's completely internal to head.S.

    See ftp://ftp.kernel.org/pub/linux/kernel/people/hpa/earlymem-7.diff

    > Thanks to HPA who got the ball started :)

    :)

    I definitely agree that simply using no paging until we have page
    tables is by far the cleanest approach. I felt that is was too high
    risk for 2.6, basically because I'm a chicken, but more realistically
    because I couldn't really see the effect on all subarchitectures, and
    I didn't feel 100% confident that there wasn't anything that relied on
    memory being dual mapped; however, I'm more than happy to be proven
    wrong :)

    Oh yes, with this change you should probably just move swapper_pg_dir
    (and empty_zero_page?) into .bss like anything else that should be
    zero after boot.

            -hpa
    -
    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: Jaco Kroon: "Re: 2.6.3 adaptec I2O will not compile"

    Relevant Pages

    • Re: [CFT][PATCH] 2.6.4-rc1 remove x86 boot page tables
      ... > For VISWS I think you actually need to turn paging off explicitly. ... The patch will need a few tweaks but it should be fairly straight forward. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] spinlock consolidation, v2
      ... >> the patch is now complete in the sense that it does everything i wanted ... CONFIG_SMP-ed, it gets into separate _smp and _up files. ... i've added the #error protectors. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [patch] Real-Time Preemption, -RT-2.6.12-rc6-V0.7.48-00
      ... With the above enabled it hangs on both of my SMP ... this one should be fixed in the latest patch. ... CONFIG parameter or not. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Tainted lsmod output
      ... On Mon, 12 Sep 2005, Márcio Oliveira wrote: ... There's a patch for these in current -mm. ... * 'S' - SMP with CPUs not designed for SMP. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Bug#234976: kernel-source-2.6.4: Software Suspend doesnt work
      ... > top-level page table. ... Yes, right, but your patch does not solve that, too, right? ... we'll have identity mapping so we can turn paging off... ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)