linux-mips
[Top] [All Lists]

highmem questions

To: linux-mips@linux-mips.org
Subject: highmem questions
From: Srinivas Kommu <kommu@hotmail.com>
Date: Wed, 02 Aug 2006 15:11:35 -0700
Authentication-results: sj-dkim-2.cisco.com; header.From=kommu@hotmail.com; dkim=neutral
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.4 (Windows/20050908)
1. If I have 1 gig physical memory and CONFIG_HIGHMEM disabled, would the user processes be able to see the high memory? Only 256 meg (this is on BCM1250; so 256 meg is expected) shows up in /proc/meminfo and I couldn't malloc more than that much from user processes.

2. With highmem enabled, is there a penalty to the user processes? From what I understood, highmem mappings are needed for the kernel to access that memory. For the pages belonging to user processes, does it still use pkmaps?

3. How do I measure the penalty of highmem on kernel modules? Since the code and data for modules resides in highmem, the kernel has to constantly map and unmap while running inside the modules? Is there a way to quantify the overhead of running with highmem enabled versus not?

thanks in advance!
Srini

--
kommu@hotmail.com

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