[PATCH v11 10/12] x86, mm, asm: Add WT support to set_page_memtype()

2015-05-29 Thread Toshi Kani
From: Toshi Kani As set_memory_wb() calls free_ram_pages_type(), which then calls set_page_memtype() with -1, _PGMT_DEFAULT is used for tracking the WB type. _PGMT_WB is defined but unused. Hence, this patch renames _PGMT_DEFAULT to _PGMT_WB to clarify the usage, and releases the slot used by

[PATCH v11 10/12] x86, mm, asm: Add WT support to set_page_memtype()

2015-05-29 Thread Toshi Kani
From: Toshi Kani toshi.k...@hp.com As set_memory_wb() calls free_ram_pages_type(), which then calls set_page_memtype() with -1, _PGMT_DEFAULT is used for tracking the WB type. _PGMT_WB is defined but unused. Hence, this patch renames _PGMT_DEFAULT to _PGMT_WB to clarify the usage, and releases