From mboxrd@z Thu Jan 1 00:00:00 1970 Received: with ECARTIS (v1.0.0; list linux-mips); Thu, 24 Feb 2011 19:16:53 +0100 (CET) Received: from gateway15.websitewelcome.com ([67.18.68.12]:33382 "HELO gateway15.websitewelcome.com" rhost-flags-OK-OK-OK-OK) by eddie.linux-mips.org with SMTP id S1491010Ab1BXSQu (ORCPT ); Thu, 24 Feb 2011 19:16:50 +0100 Received: (qmail 28636 invoked from network); 24 Feb 2011 18:17:01 -0000 Received: from gator750.hostgator.com (174.132.194.2) by gateway15.websitewelcome.com with SMTP; 24 Feb 2011 18:17:01 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=paralogos.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding:X-Source:X-Source-Args:X-Source-Dir; b=xViR0DSHYXchKMjon7jqSAfzCgzY9uWOEon4T5tXV9+4iX8YsLno+lHiIKXP4UolX1LJ7uEphxGCLCMAJKUiaR4QCAS0IZg5rFm6qZItSzIc74PISiQlNfBnvwtGxbjf; Received: from [216.239.45.4] (port=37343 helo=kkissell.mtv.corp.google.com) by gator750.hostgator.com with esmtpa (Exim 4.69) (envelope-from ) id 1Psfk7-00034N-Kg; Thu, 24 Feb 2011 12:16:47 -0600 Message-ID: <4D66A08F.7050605@paralogos.com> Date: Thu, 24 Feb 2011 10:16:47 -0800 From: "Kevin D. Kissell" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101208 Thunderbird/3.1.7 MIME-Version: 1.0 To: Himanshu Chauhan CC: linux-mips Subject: Re: Kernel link address assumption References: <4D669FCE.8000601@nulltrace.org> In-Reply-To: <4D669FCE.8000601@nulltrace.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator750.hostgator.com X-AntiAbuse: Original Domain - linux-mips.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - paralogos.com X-Source: X-Source-Args: X-Source-Dir: Return-Path: X-Envelope-To: <"|/home/ecartis/ecartis -s linux-mips"> (uid 0) X-Orcpt: rfc822;linux-mips@linux-mips.org Original-Recipient: rfc822;linux-mips@linux-mips.org X-archive-position: 29284 X-ecartis-version: Ecartis v1.0.0 Sender: linux-mips-bounce@linux-mips.org Errors-to: linux-mips-bounce@linux-mips.org X-original-sender: kevink@paralogos.com Precedence: bulk X-list: linux-mips On 02/24/11 10:13, Himanshu Chauhan wrote: > Hi, > > Does Linux kernel for MIPS assumes that its link address is always in > Kseg0? > What if I change the link address to somewhere in useg? Your page fault handlers will be in for an interesting time. ;o) What you describe can be, and is done, for virtualized kernels running on top of a hypervisor, but there's a bit more involved than just changing the link address. /K.