Skip to contentSkip to conversation

Broken CONFIG_HIGHPTE

DISCUSSION Benjamin Herrenschmidt 2 participants 2 messages Apr 1, 2009

lore
Share & tools
lore
#0 lore raw

Hi !

Just noticed... And I'll be travelling for a while so with no much time to look at it.

Your changes to use the PTE page free batch via RCU on ppc32 broke CONFIG_HIGHPTE for hash32...

You rely on passing a page_address() of the PTE page down to the freeing layer. That doesn't work for highmem pages. That needs to be changes to a struct page * on 32-bit (not on 64-bit where we are using slabs though)

Cheers,
Ben.

#1 lore raw
Quoted 5 lines · Benjamin Herrenschmidt

Hi !

Just noticed... And I'll be travelling for a while so with no much time to look at it.

Quoted 7 lines

Your changes to use the PTE page free batch via RCU on ppc32 broke CONFIG_HIGHPTE for hash32...

You rely on passing a page_address() of the PTE page down to the freeing layer. That doesn't work for highmem pages. That needs to be changes to a struct page * on 32-bit (not on 64-bit where we are using slabs though)

I can look into this, how does this show up?

- k