85xx Address space query

Kumar Gala galak at kernel.crashing.org
Fri Jun 26 03:58:23 EST 2009


On Jun 25, 2009, at 12:52 PM, kernel mailz wrote:

> If an aap has to be placed in AS=1 and it issues an ioctl, kernel
> needs to be modified ?

Correct, this would be a significant change to the kernel.

> I guess the PID=0 trick will work when AS is same
>
> right ?

correct.

- k

>
> On 6/25/09, Kumar Gala <galak at kernel.crashing.org> wrote:
>> That is correct.  The PID = 0 translations are always valid.
>>
>> - k
>>
>> On Jun 25, 2009, at 5:51 AM, kernel mailz wrote:
>>
>>> So this means
>>> when kernel gets interrupted by app which may be in PID=5 (say)
>>> kernel translations for PID=0 remain valid ?
>>> I am not able to follow Scott
>>>
>>> -TZ
>>>
>>> On Thu, Jun 25, 2009 at 4:22 AM, Scott Wood<scottwood at freescale.com>
>>> wrote:
>>>> kernel mailz wrote:
>>>>>
>>>>> But If the app was running with PID=1, interrupt occurs, kernel  
>>>>> code
>>>>> gets executed in PID=1, how does the kernel handle this ? and goes
>>>>> back to PID=0, since its translations are all in PID=0
>>>>
>>>> PID 0 is special, it's mappings are present regardless of the value
>>>> of the
>>>> PID register.
>>>>
>>>> -Scott
>>>>
>>> _______________________________________________
>>> Linuxppc-dev mailing list
>>> Linuxppc-dev at lists.ozlabs.org
>>> https://lists.ozlabs.org/listinfo/linuxppc-dev
>>
>>



More information about the Linuxppc-dev mailing list