On Mar 27, 2009, at 6:05 PM, Benjamin Herrenschmidt wrote:
On Fri, 2009-03-27 at 06:56 -0500, Kumar Gala wrote:
Ben,
If we have CONFIG_DEBUG_PAGEALLOC enabled we end up hitting the
WARN_ON() in set_pte_at() when we boot. This appears because we've
already setup pte's via mapin_ram() after which we end up calling
kernel_map_pages().
So I'm not sure if __change_page_attr() should be doing something
different or if the WARN_ON() should be conditional on !
CONFIG_DEBUG_PAGEALLOC
Or use __set_pte_at() ?
Note that C_D_P doesn't work on hash32 anyway...
really, what mmu config does it work on ? just hash64?
- k
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev