From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx148.postini.com [74.125.245.148]) by kanga.kvack.org (Postfix) with SMTP id 1B2F16B0002 for ; Sun, 3 Mar 2013 10:43:59 -0500 (EST) Received: by mail-pb0-f51.google.com with SMTP id un15so2590221pbc.24 for ; Sun, 03 Mar 2013 07:43:58 -0800 (PST) Message-ID: <51336FB4.9000202@gmail.com> Date: Sun, 03 Mar 2013 23:43:48 +0800 From: Jiang Liu MIME-Version: 1.0 Subject: Re: mm: introduce new field "managed_pages" to struct zone References: <512EF580.6000608@gmail.com> In-Reply-To: <512EF580.6000608@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Simon Jeons Cc: Jiang Liu , "linux-mm@kvack.org >> Linux Memory Management List" Hi Simon, Bootmem allocator is used to managed DMA and Normal memory only, and it does not manage highmem pages because kernel can't directly access highmem pages. Regards! Gerry On 02/28/2013 02:13 PM, Simon Jeons wrote: > Hi Jiang, > > https://patchwork.kernel.org/patch/1781291/ > > You said that the bootmem allocator doesn't touch *highmem pages*, so highmem zones' managed_pages is set to the accurate value "spanned_pages - absent_pages" in function free_area_init_core() and won't be updated anymore. Why it doesn't touch *highmem pages*? Could you point out where you figure out this? > -- 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