From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-yk0-f182.google.com (mail-yk0-f182.google.com [209.85.160.182]) by kanga.kvack.org (Postfix) with ESMTP id 941114402ED for ; Sat, 19 Dec 2015 08:41:07 -0500 (EST) Received: by mail-yk0-f182.google.com with SMTP id x184so89187557yka.3 for ; Sat, 19 Dec 2015 05:41:07 -0800 (PST) Received: from mail-yk0-x233.google.com (mail-yk0-x233.google.com. [2607:f8b0:4002:c07::233]) by mx.google.com with ESMTPS id x126si1359400ywb.290.2015.12.19.05.41.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Dec 2015 05:41:06 -0800 (PST) Received: by mail-yk0-x233.google.com with SMTP id 140so88588489ykp.0 for ; Sat, 19 Dec 2015 05:41:06 -0800 (PST) MIME-Version: 1.0 From: Sumit Gupta Date: Sat, 19 Dec 2015 19:10:26 +0530 Message-ID: Subject: Query about merging memblock and bootmem into one new alloc Content-Type: multipart/alternative; boundary=001a1146411e64e2310527406866 Sender: owner-linux-mm@kvack.org List-ID: To: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mm-commits@vger.kernel.org, linux-arch@vger.kernel.org --001a1146411e64e2310527406866 Content-Type: text/plain; charset=UTF-8 Hi All, For ARM Linux, during booting first memblock reserves memory regions then bootmem allocator create node, mem_map, page bitmap data and then hands over to buddy. I have been thinking from some time about why we need two different allocators for this. Can we merge both into one(memblock into bootmem) or create a new allocator which can speed up the same thing which is easy to enhance in future. I am not sure about this and whether it's good idea or will it be fruitful. Please suggest and share your opinion. Thank you in advance for your help. -- Thanks & Regards, Sumit Gupta Mob: +91-9717222038 --001a1146411e64e2310527406866 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All,

For ARM Linux, durin= g booting first memblock reserves memory regions then bootmem allocator cre= ate node, mem_map, page bitmap data and then hands over to buddy.
I have been thinking from some time about why we need two different alloca= tors for this.
Can we merge both into one(memblock into bootmem) = or create a new allocator which can speed up the same thing which is easy t= o enhance in future.
I am not sure about this and whether it'= s good idea or will it be fruitful.

Please suggest= and share your opinion.

Thank you in advance for = your help.


--
Thanks & Regards,
Sumit Gupta
Mob: +91-9717222038
--001a1146411e64e2310527406866-- -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org