[Top] [All Lists]

[RFC] MIPS memblock: Remove bootmem code and switch to NO_BOOTMEM

Subject: [RFC] MIPS memblock: Remove bootmem code and switch to NO_BOOTMEM
From: Serge Semin <>
Date: Tue, 19 Dec 2017 23:14:00 +0300
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=+beTybNu7Xs+GND2ywGeTowqNGQkD5EZ4/uvmMJe3Rs=; b=uMEJChFwXbLCDwE2lma5rR27nhmQmsS+sU1AOHbeWjLIskjgG5YluOM2KHGIGtHZND S/F5AzwJzwiktKnASMN5ookBPmtc7CzF78oDib1qUMQMRZ2azwYYCFl2Kve6fqqSH+ht GR77R6wuZz7otFaQc6eNt58dOzAVs9FAm1sKzB5T9e+K0YfkhEBi06dxEUZowmlH/ZGp xBYjb65mflIoR442iW2BON9npLnu4m08CO9KLHhn0q4ho4qbp0K7jw+ioJEOjmyw5tAm 2NXmZ4lZpis9oDk07BzRZSlTJkTWYFqXtqld9f4Km2jyz53pOsSDKpnl9XDg1oYZyo8k M62g==
List-archive: <>
List-help: <>
List-id: linux-mips <>
List-owner: <>
List-post: <>
List-software: Ecartis version 1.0.0
List-subscribe: <>
List-unsubscribe: <>
Original-recipient: rfc822;
User-agent: Mutt/1.5.24 (2015-08-30)
Hello folks,

Almost a year ago I sent a patchset to the Linux MIPS community. The main 
target of the patchset
was to get rid from the old bootmem allocator usage at the MIPS architecture. 
Additionally I had
a problem with CMA usage on my MIPS machine due to some struct page-related 
issue. Moving to the
memblock allocator fixed the problem and gave us benefits like smaller memory 
powerful memblock API to be used within the arch code.

Sorry for the delay. I promised to get back to this work within two months 
since my last post, but
there are more over five months passed. Now when some free time finally 
available at my schedule
I am ready to go on with this patchset and finally finish it up. After a short 
glance at the old
code I suppose there should be some refactoring made. Particularly:
- completely get rid from the boot_mem_map[] array usage. After the memblock 
code utilization
  is added, the boot_mem_map array will be excessive.
- unpin memblock/bootmem unrelated changes to a separate series so the patchset 
wouldn't be
  that big.
- take into account all the comments the community users posted on my initial 

Still there are several questions, I need to have answered before the 
development is started.

Question to the community in general. Are you still interested in this work to 
be done and the
patchset to be submitted for review? Last time you moved the patchset to the RFC status for 
some reason. I asked
you twice to send to me your comments about the patches, but obviously you 
didn't have time for
this, then you might have just forgotten. Could you please confirm whether you 
are interested in
these alterations and will be ready to review them? Could you confirm if you are still interested in 
the patchset and
ready to update the Loongson64 platform code so one would be compatible with it? Will you still be able to update the SGI IP27 code so one 
would work on top
of the patches? Do you still possess the Octeon MIPS64 platform 
to test the patchset?

Thanks folks for you willingness to help


<Prev in Thread] Current Thread [Next in Thread>