Date: Wed, 08 Aug 2001 02:31:33 -0700 From: Mike Smith <msmith@freebsd.org> To: "craig" <craiglei@pasia.com.cn> Cc: tlambert2@mindspring.com, freebsd-hackers@FreeBSD.ORG Subject: Re: Why page enable in Kernel space? Message-ID: <200108080931.f789VXZ01574@mass.dis.org> In-Reply-To: Your message of "Wed, 08 Aug 2001 09:40:27 %2B0800." <002001c11fab$19acaca0$051a0a0a@fd.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It is important for you to send plain-text messages to public lists. > In general a address in a process is just a linear address which=A0refe= r to > physical address indirectly=A0 by page directory.=A0 This is reasonable= in > user space. However is it necessary to do such thing in kernel? It is s= ure > to have penalty when converting a linear address to physical thing. Is = it > worth doing such thing in kernel. No. Turning paging on/off is expensive on x86, and you can't do it = easily in some important cases. > I think the performance is the most > important in kernel, other thing is second. I remember in linux linear > address is real physical address in kernel space(is it true?). Why free= bsd > does not do in the same way? Identity-mapping virtual:physical addresses is not the same as disabling paging. Linux, like all other sane x86 protected-mode operating systems leaves paging enabled. -- = =2E.. every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108080931.f789VXZ01574>