The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* Re: Discontiguous memory fun
       [not found] <35fb2e5905090110171aa77266@mail.gmail.com>
@ 2005-10-02 18:57 ` Jon Masters
  2005-10-02 23:55   ` Marc Singer
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Masters @ 2005-10-02 18:57 UTC (permalink / raw)
  To: Linux Kernel Mailing List

Replying to my own post...

On 9/1/05, Jon Masters <jonmasters@gmail.com> wrote:

>  I've got a hardware platform based on an ARM922, a bit like Excalibur,
> which has a nice large hole in memory:
>
>  0x0000_0000 - 32MB (or whatever) of SDRAM.
>  0x8000_0000 - 64MB (or whatever) of SDRAM.

I fixed it using a bodge similar to PHYS_OFFSET and disabled the lower
bank of memory if the kernel was booted at the higher address since it
was extremely difficult to play with the half-support for discontig in
old 2.4 ARM kernels (all of the existing boards are just playing a
game of luck with their memory/node mappings) without a working BDI.

I'd love to know what the state of discontig memory is like on 2.6
series ARM kernels and highmem too for that matter, but I've not had
chance to look at it (I'm usually a ppc guy).

Jon.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Discontiguous memory fun
  2005-10-02 18:57 ` Discontiguous memory fun Jon Masters
@ 2005-10-02 23:55   ` Marc Singer
  2005-10-03  2:10     ` Jon Masters
  0 siblings, 1 reply; 4+ messages in thread
From: Marc Singer @ 2005-10-02 23:55 UTC (permalink / raw)
  To: jonathan; +Cc: Linux Kernel Mailing List

On Sun, Oct 02, 2005 at 07:57:30PM +0100, Jon Masters wrote:
> Replying to my own post...
> 
> On 9/1/05, Jon Masters <jonmasters@gmail.com> wrote:
> 
> I'd love to know what the state of discontig memory is like on 2.6
> series ARM kernels and highmem too for that matter, but I've not had
> chance to look at it (I'm usually a ppc guy).

It works fine.

The node mapping is performed by macros in asm-arm/arch-*/memory.h.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Discontiguous memory fun
  2005-10-02 23:55   ` Marc Singer
@ 2005-10-03  2:10     ` Jon Masters
  2005-10-03  2:30       ` Martin J. Bligh
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Masters @ 2005-10-03  2:10 UTC (permalink / raw)
  To: Marc Singer; +Cc: Linux Kernel Mailing List

On 10/3/05, Marc Singer <elf@buici.com> wrote:

> On Sun, Oct 02, 2005 at 07:57:30PM +0100, Jon Masters wrote:
> > Replying to my own post...
> >
> > On 9/1/05, Jon Masters <jonmasters@gmail.com> wrote:
> >
> > I'd love to know what the state of discontig memory is like on 2.6
> > series ARM kernels and highmem too for that matter, but I've not had
> > chance to look at it (I'm usually a ppc guy).
>
> It works fine.
>
> The node mapping is performed by macros in asm-arm/arch-*/memory.h.

Hmmm...as it was in 2.4. I'll take a look for my general interest.

Jon.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Discontiguous memory fun
  2005-10-03  2:10     ` Jon Masters
@ 2005-10-03  2:30       ` Martin J. Bligh
  0 siblings, 0 replies; 4+ messages in thread
From: Martin J. Bligh @ 2005-10-03  2:30 UTC (permalink / raw)
  To: jonathan, Marc Singer; +Cc: Linux Kernel Mailing List



--Jon Masters <jonmasters@gmail.com> wrote (on Monday, October 03, 2005 03:10:28 +0100):

> On 10/3/05, Marc Singer <elf@buici.com> wrote:
> 
>> On Sun, Oct 02, 2005 at 07:57:30PM +0100, Jon Masters wrote:
>> > Replying to my own post...
>> > 
>> > On 9/1/05, Jon Masters <jonmasters@gmail.com> wrote:
>> > 
>> > I'd love to know what the state of discontig memory is like on 2.6
>> > series ARM kernels and highmem too for that matter, but I've not had
>> > chance to look at it (I'm usually a ppc guy).
>> 
>> It works fine.
>> 
>> The node mapping is performed by macros in asm-arm/arch-*/memory.h.
> 
> Hmmm...as it was in 2.4. I'll take a look for my general interest.

If you're going to mess with it, please use sparsemem, not discontigmem.
The intent is to deprecate and delete the latter.

M.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-10-03  2:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <35fb2e5905090110171aa77266@mail.gmail.com>
2005-10-02 18:57 ` Discontiguous memory fun Jon Masters
2005-10-02 23:55   ` Marc Singer
2005-10-03  2:10     ` Jon Masters
2005-10-03  2:30       ` Martin J. Bligh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox