Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Jun 2010 11:29:52 +0530
From:      "Jayachandran C." <c.jayachandran@gmail.com>
To:        Randall Stewart <rrs@lakerest.net>
Cc:        Alan Cox <alc@cs.rice.edu>, freebsd-mips@freebsd.org
Subject:   Re: Merging 64 bit changes to -HEAD - part 2
Message-ID:  <AANLkTikpOaSmTYVfqavtz8T4vZoHWc2CtXIy4SbLlGje@mail.gmail.com>
In-Reply-To: <763BEBBB-B85A-44CE-BFEE-0BADEFF3C185@lakerest.net>
References:  <20100617.100235.195066307596264499.imp@bsdimp.com> <AANLkTimkF47RlysFOrma0YhWNDw2w5Lcp9SB1bBoPuxW@mail.gmail.com> <4B66E1A4-E2A5-471F-9FA4-38B506797272@lakerest.net> <20100617.110504.200754750200158040.imp@bsdimp.com> <763BEBBB-B85A-44CE-BFEE-0BADEFF3C185@lakerest.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 18, 2010 at 4:00 AM, Randall Stewart <rrs@lakerest.net> wrote:
>
> On Jun 17, 2010, at 1:05 PM, M. Warner Losh wrote:
>>
>> It was also a name-space collision, so we were using PG_x instead of
>> PG_y in the PTE code due to the overlap. =A0Maybe it all works now, but
>> that was the motivation for the change.
>
>
>
> Yes, basically if I remember right someone used
>
> PG_GLOBAL instead of PG_G. This caused the wrong bits
> to be set.
>
> In general I think its a BAD idea to have two name spaces in the
> same section of the system (VM) that have similar define's that mean
> different things.
>
>
> Far better to KEEP the PTE_xxx or for that matter pick something else.. J=
ust
> NOT PG_xxx

I was not aware of the PG/PTE history, I thought I would get the diffs
against Juli's tree down.

I will drop the renaming patch.

But can you review/approve the second patch.  This change removes the
sched_pin and lock in the LMEM macros.My understanding is that, these
are not needed because each cpu is given its own va to map the
physical memory to, and this pa/va mapping in in the kernel_pmap.

JC.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikpOaSmTYVfqavtz8T4vZoHWc2CtXIy4SbLlGje>