From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 0/4] Atari kernel-in-FastRAM patches, take three Date: Tue, 1 Apr 2014 09:28:33 +0200 Message-ID: References: <1396137686-32678-1-git-send-email-schmitz@debian.org> <8761mvl3jb.fsf@igel.home> <87a9c63x1c.fsf@igel.home> <87txae2dt4.fsf@igel.home> <20140331235216.GA2109@mail.biophys.uni-duesseldorf.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from mail-pa0-f48.google.com ([209.85.220.48]:59349 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751547AbaDAH2e (ORCPT ); Tue, 1 Apr 2014 03:28:34 -0400 Received: by mail-pa0-f48.google.com with SMTP id hz1so9405023pad.21 for ; Tue, 01 Apr 2014 00:28:33 -0700 (PDT) In-Reply-To: <20140331235216.GA2109@mail.biophys.uni-duesseldorf.de> Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Michael Schmitz Cc: Andreas Schwab , Michael Schmitz , Linux/m68k , debian m68k Hi Michael, On Tue, Apr 1, 2014 at 1:52 AM, Michael Schmitz wrote: >> Michael Schmitz writes: >> > do we know the size of the first memory chunk early enough in head.S? >> > Maybe it's time to increase INIT_MAPPED_SIZE at least in cases where >> > we know that there's more than 4 MB in the first memchunk ... >> >> How do you know? You would have to reimplement the check paging_init >> does. > > I see - as a heuristic, we can probably assume that the first memchunk is > the relevant one, and especially in the case of FastRAM, also the larger > one. > Does this hold for Amiga/Mac/VME as well? People want to run the kernel in the fastest memory chunk, which is typically also the largest (slow Amiga mainboard memory may be 2 - 16 MiB for Linux-capable machines, accelerator memory may be larger). Don't know about Mac, but I have some memories of interleaved banks and such... Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds