Re: two virtual address pointing to same physical address

2014-05-20 Thread 김찬
vt.edu 참조 : kernelnewbies@kernelnewbies.org 제목 : Re: two virtual address pointing to same physical address Valdis and all, I understand we cannot access the same physical memory both as cacheable and non-cacheable. and I'm pretty sure they were pointing to the same physical address. (I have

Re: two virtual address pointing to same physical address

2014-05-20 Thread Max Filippov
Hi, On Tue, May 20, 2014 at 6:28 AM, wrote: > On Tue, 20 May 2014 00:39:26 -, Chan Kim said: >> But still it's confusing. Can two virtual addresses from the "same process" >> (in init process, one for nocache pool, the other not) point to the same >> physical address? > > I'm not sure what y

Re: two virtual address pointing to same physical address

2014-05-20 Thread Chan Kim
Thanks, Chan 보낸 사람 : "valdis.kletni...@vt.edu" 보낸 날짜 : 2014-05-20 11:31:14 ( +09:00 ) 받는 사람 : 김찬 참조 : kernelnewbies@kernelnewbies.org 제목 : Re: two virtual address pointing to same physical address On Tue, 20 May 2014 00:39:26 -, Chan Kim said: > But still it's confusing. Can two v

Re: two virtual address pointing to same physical address

2014-05-19 Thread Valdis . Kletnieks
On Tue, 20 May 2014 00:39:26 -, Chan Kim said: > But still it's confusing. Can two virtual addresses from the "same process" > (in init process, one for nocache pool, the other not) point to the same > physical address? I'm not sure what you're trying to say there. In general, the hardware ta

Re: two virtual address pointing to same physical address

2014-05-19 Thread Chan Kim
nelnewbies@kernelnewbies.org 제목 : Re: two virtual address pointing to same physical address Hi Valdis, I see. Thanks, I remember reading about the merits of virtual address in the books. But still it's confusing. Can two virtual addresses from the "same process" (in init process,

Re: two virtual address pointing to same physical address

2014-05-19 Thread Chan Kim
19 22:12:08 ( +09:00 ) 받는 사람 : 김찬 참조 : kernelnewbies@kernelnewbies.org 제목 : Re: two virtual address pointing to same physical address On Mon, 19 May 2014 11:47:23 -, Chan Kim said: > Is this situation normal? (in the kernel, two different virtual addresses > pointing to the same phys

Re: two virtual address pointing to same physical address

2014-05-19 Thread Valdis . Kletnieks
On Mon, 19 May 2014 11:47:23 -, Chan Kim said: > Is this situation normal? (in the kernel, two different virtual addresses > pointing to the same physical address.) Think for a bit how shared libraries are implemented. Then think about how mmap() of a shared region of a file at different virt

two virtual address pointing to same physical address

2014-05-19 Thread Chan Kim
In my previous email below, virtual address 0xc800 (for nocache region) and virtual adderss 0xc054 is pointing to the same physical address. Is this situation normal? (in the kernel, two different virtual addresses pointing to the same physical address.) Thanks in advance. Chan 보낸 사람