On Fri, Feb 05, 2021 at 10:00:12PM +0000, Chris Wilson wrote:
Userspace has discovered the functionality offered by SYS_kcmp and has started to depend upon it. In particular, Mesa uses SYS_kcmp for os_same_file_description() in order to identify when two fd (e.g. device or dmabuf) point to the same struct file. Since they depend on it for core functionality, lift SYS_kcmp out of the non-default CONFIG_CHECKPOINT_RESTORE into the selectable syscall category.
... Reviewed-by: Cyrill Gorcunov gorcunov@gmail.com