From mboxrd@z Thu Jan 1 00:00:00 1970 From: mindentropy@gmail.com (mindentropy) Date: Wed, 20 Jul 2011 23:24:24 +0530 Subject: Regarding remap_pfn_page In-Reply-To: References: <201107192326.46034.mindentropy@gmail.com> Message-ID: <201107202324.24587.mindentropy@gmail.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org >> If yes what would happen if I mmap a huge range? >huge range means you already have huge physical memory to be mapped >and user space process has huge virtual memory area to accomodate >that. Note that is mapping is specific to one particular process (or >threads sharing process address space) so it is fairly possible to >establish mmap. Assuming you have 1 single page size of physical memory. Now when you mmap a huge size would all the different virtual addresses be mapping onto the same physical page frame?