Olof Johansson wrote: > As Paul says above, you need to check for failures and compare the VSID > and possibly unhash it anyway in case of non-match. Otherwise if the > kernel ever starts using 1TB segments for regular use, those pages will > never be unhashed. I don't see your code doing that now. > > How about the following patch ? Thanks -Sachin Signed-off-by : Sachin Sant Signed-off-by : Mohan Kumar M ---