Re: [PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Christoph Lameter
Date: Monday, April 2, 2007 - 2:53 pm

On Mon, 2 Apr 2007, Dave Hansen wrote:


F.e. you are wasting memory that the slab needs to uselessly track these 
allocations. You would need to create a special slab that has page sized
(or huge page sized) alignment to have the proper allocation behavior. Not 
good.

The rest of sparse is not MMU bound. So you may be fine. I'd recommend 
though to use the page allocator if you are doing large allocations. I do 
not see the point of using slab there.


If I would be doing that then we would end up adding these pagetable walks
to multiple architectures. I already need to cover IA64 and x86_64 and 
this will also do i386. Lets try to keep them generic. PPC may need to 
disable these walks and do its own thing.


What is the purpose of alloc_remap? Could not figure that one out.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM, Christoph Lameter, (Sun Apr 1, 12:10 am)
[PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Sun Apr 1, 12:10 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Sun Apr 1, 12:11 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andi Kleen, (Sun Apr 1, 3:46 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 8:37 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 8:44 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andi Kleen, (Mon Apr 2, 8:44 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Martin J. Bligh, (Mon Apr 2, 8:51 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 8:54 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 9:18 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andi Kleen, (Mon Apr 2, 10:14 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 10:34 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Dave Hansen, (Mon Apr 2, 12:54 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 1:11 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Dave Hansen, (Mon Apr 2, 1:13 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 1:30 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Martin Bligh, (Mon Apr 2, 1:38 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 1:51 pm)
Re: [PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM, Christoph Lameter, (Mon Apr 2, 2:00 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Dave Hansen, (Mon Apr 2, 2:08 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 2:28 pm)
Re: [PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM, Christoph Lameter, (Mon Apr 2, 2:31 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Martin Bligh, (Mon Apr 2, 2:43 pm)
Re: [PATCH 1/2] Generic Virtual Memmap suport for SPARSEMEM, Christoph Lameter, (Mon Apr 2, 2:53 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Dave Hansen, (Mon Apr 2, 2:56 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 3:29 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andi Kleen, (Mon Apr 2, 3:31 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 3:37 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Martin Bligh, (Mon Apr 2, 3:41 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Mon Apr 2, 3:49 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Martin Bligh, (Mon Apr 2, 3:52 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Bjorn Helgaas, (Mon Apr 2, 4:03 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Bob Picco, (Wed Apr 4, 2:27 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Wed Apr 4, 3:38 pm)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andy Whitcroft, (Thu Apr 5, 4:50 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Andy Whitcroft, (Thu Apr 5, 5:07 am)
Re: [PATCH 1/4] x86_64: Switch to SPARSE_VIRTUAL, Christoph Lameter, (Thu Apr 5, 11:27 am)
Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem ..., Christoph Lameter, (Sat Apr 7, 3:06 pm)
Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem ..., William Lee Irwin III, (Mon Apr 9, 9:40 am)
Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem ..., Christoph Lameter, (Mon Apr 9, 10:16 am)
Re: [PATCH 1/4] x86_64: (SPARSE_VIRTUAL doubles sparsemem ..., William Lee Irwin III, (Mon Apr 9, 11:20 am)