From: Chris Metcalf Date: Wed, 28 Mar 2012 17:59:18 +0000 (-0400) Subject: arch/tile: allow building Linux with transparent huge pages enabled X-Git-Tag: v3.5-rc1~76^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73636b1aacb1a07e6fbe0d25e560e69b024a8e25;p=pandora-kernel.git arch/tile: allow building Linux with transparent huge pages enabled The change adds some infrastructure for managing tile pmd's more generally, using pte_pmd() and pmd_pte() methods to translate pmd values to and from ptes, since on TILEPro a pmd is really just a nested structure holding a pgd (aka pte). Several existing pmd methods are moved into this framework, and a whole raft of additional pmd accessors are defined that are used by the transparent hugepage framework. The tile PTE now has a "client2" bit. The bit is used to indicate a transparent huge page is in the process of being split into subpages. This change also fixes a generic bug where the return value of the generic pmdp_splitting_flush() was incorrect. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed