Thanks for the that .I have another question what about the memory that we 
create for accessing the memory mapped registers.Are those also part of the 
page table.

On Tuesday, 30 October 2012 01:41:39 UTC+5:30, m-ric wrote:
>
> Hi Ajay,
>
> Q: does the kernel create page tables for the memory returned by kmalloc.
> A: Yes, it does. Without page allocation table, the kernel is unable to 
> know which chunks of memory are allocated and which are not.
> http://www.makelinux.net/ldd3/chp-8-sect-1 is a fairly good introduction 
> of kmalloc.
> If you are looking for an introduction of Linux memory management, have a 
> look here: 
> http://www.linux-tutorial.info/modules.php?name=MContent&pageid=89
>
> Emeric
>
>
>
> On Mon, Oct 29, 2012 at 2:38 PM, ajay <[email protected] <javascript:>>wrote:
>
>> Kmalloc is used for returning a logical address pointer to a chunk of 
>> physical address.My question is that the locgical address that kmalloc is a 
>> part of the virtual memory .i.e does the kernel create page tables for the 
>> memory returned by kmalloc. 
>>
>> -- 
>> unsubscribe: [email protected] <javascript:>
>> website: http://groups.google.com/group/android-kernel
>
>
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to