Changes

416 bytes removed ,  19:36, 23 May 2023
Done upstream: Continue removing TIF_IA32 from uprobes & Oprofile
Line 78: Line 78:     
== Needs to be done (TODO) ==
 
== Needs to be done (TODO) ==
  −
=== List of failed tests ===
  −
  −
The table is being kept up-to-date by [[User:Dsafonov|Dsafonov]] with latest kernel/CRIU patches in his environment, some of which may be yet not in tree or even yet not sent.
  −
  −
{| class="wikitable"
  −
! Name
  −
! Fail reason
  −
|-
  −
| futex-rl || sys_get_robust_list() should be compat syscall for 32-bit tasks: kernel keeps two different lists: <code>robust_list</code> and <code>compat_robust_list</code> in <code>task_struct</code>
  −
|-
  −
| autofs || test's bug - hangs without C/R
  −
|-
  −
| vdso01 || need to add 32-bit vDSO symbols: __kernel_* (and check them with handlers in test)
  −
|}
  −
  −
=== Fixes for older kernels ===
  −
  −
For kernels with backported mainline patches for 32-bit C/R (like vzkernel) there are a couple of things to do like different sizes of vdso/vvar (or vvar may not be even present).
      
=== Kernel patch for vsyscall page ===
 
=== Kernel patch for vsyscall page ===
Line 105: Line 86:     
At this moment we'll support only compat ia32 applications, attempt to dump x32 compat binary should result in error.
 
At this moment we'll support only compat ia32 applications, attempt to dump x32 compat binary should result in error.
 +
 +
=== Continue removing TIF_IA32 from uprobes & Oprofile ===
 +
 +
This flag should be gone as it's suggested by Andy & Oleg.
 +
There is quite lot of work to make kernel work without it, but small gain:
 +
the restored ia32 process will be traced by uprobes/oprofile and stuff like that.
 +
 +
'''Updated''': Done by [https://lore.kernel.org/all/20201004032536.1229030-1-krisman@collabora.com/T/#u patches] - that merged to v5.11
    
== External links ==
 
== External links ==
* [https://github.com/xemul/criu/issues/43 github issue]
+
* [https://github.com/checkpoint-restore/criu/issues/43 github issue]
   −
[[Category: Development]]
   
[[Category: Under the hood‏‎]]
 
[[Category: Under the hood‏‎]]
105

edits