From: David Daney Date: Thu, 28 May 2009 00:47:44 +0000 (-0700) Subject: MIPS: TLB support for hugetlbfs. X-Git-Tag: v2.6.31-rc1~291^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd062c847a8cea2821347d7e18165dfa658f7dce;p=pandora-kernel.git MIPS: TLB support for hugetlbfs. The TLB handlers need to check for huge pages and give them special handling. Huge pages consist of two contiguous sub-pages of physical memory. * Loading entrylo0 and entrylo1 need to be handled specially. * The page mask must be set for huge pages and then restored after writing the TLB entries. * The PTE for huge pages resides in the PMD, we halt traversal of the tables there. Signed-off-by: David Daney Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed