Re: [PATCH -V1 4/9] arch/powerpc: Use vsid and segment offset to represent virtual address

From
Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date
2012-06-29 21:45:48
Reply to
Aneesh Kumar K.V, 2012-06-29
On Fri, 2012-06-29 at 19:47 +0530, Aneesh Kumar K.V wrote:
quoted hunk ↗ jump to hunk
 
+/* 78 bit power virtual address */
 struct virt_addr {
-       unsigned long addr;
+       unsigned long vsid;
+       unsigned long seg_off;
 };
Do we really need to do that ? It's really nasty...

We are trying to add only a few bits, we get 12 for free by just using a
page number (4k based always, not PAGE_SHIFT based btw) no ? That should
get us going for a while....

Cheers,
Ben.
Thread (14 messages) 14 messages, 3 authors, last reply 2012-07-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help