[CRIU] Make the test transition/ipc pass on ARM

Alexander Kartashov alekskartashov at parallels.com
Thu Jan 31 03:52:57 EST 2013


Dear colleagues,

I bumped into the seemingly legacy kernel code breaking the test 
transition/ipc.
The patch in the attachment is a temporary solution for the problem.

I tried to dig into the history of the file arch/arm/mm/mmap.c causing the
test fail and found the following. Blaming the file resulted in the 
following output
for the lines causing the problem:

41dfaa93 (Rob Herring            2011-11-22 04:01:06 +0100 68)         
if (aliasing)
41dfaa93 (Rob Herring            2011-11-22 04:01:06 +0100 
69)                 do_align = filp || (flags & MAP_SHARED);

Blaming the file before the commit 41dfaa93 results in the following:

^1da177e (Linus Torvalds         2005-04-16 15:20:36 -0700 
47)                 if (aliasing)
^1da177e (Linus Torvalds         2005-04-16 15:20:36 -0700 
48)                         do_align = filp || flags & MAP_SHARED;

However the commit 1da177e is the beginning of the contemporary history
for the Linux kernel.

Do you have any experience in getting the Linux history before this commit?

-- 
Sincerely yours,
Alexander Kartashov

Intern
Core team

www.parallels.com

Skype: aleksandr.kartashov
Email: alekskartashov at parallels.com



More information about the CRIU mailing list