Hi, This came out my debugging THP on ARC. The generic deposit/withdraw routines can be easily adapted to work with pgtable_t != struct page *. Build/Run tested on ARC only. Thx, -Vineet Vineet Gupta (2): mm,thp: refactor generic deposit/withdraw routines for wider usage ARC: mm: THP: use generic THP deposit/withdraw arch/arc/include/asm/hugepage.h | 8 -------- arch/arc/mm/tlb.c | 37 ------------------------------------- mm/pgtable-generic.c | 27 +++++++++++++++++---------- 3 files changed, 17 insertions(+), 55 deletions(-) -- 2.5.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>