Skip to content

Conversation

@ricardobranco777
Copy link

@ricardobranco777 ricardobranco777 commented Dec 7, 2025

Add more tests for userfaultfd:

  • UFFDIO_MOVE
  • UFFDIO_WRITEPROTECT
  • UFFDIO_ZEROPAGE
  • UFFD_USER_MODE_ONLY
  • Use /dev/userfaultfd instead of system call

@ricardobranco777 ricardobranco777 force-pushed the userfaultfd branch 8 times, most recently from 45b04e6 to bffe686 Compare December 8, 2025 11:38
* Copyright (c) 2025 SUSE LLC
* Author: Christian Amann <[email protected]>
* Author: Ricardo Branco <[email protected]>
*
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: could you please rebase against current master. And here use /*\ instead having inside normal comment to get tests docs into https://linux-test-project.readthedocs.io/en/latest/users/test_catalog.html?

* Author: Christian Amann <[email protected]>
* Author: Ricardo Branco <[email protected]>
*
* Test userfaultfd using UFFDIO_MOVE
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

very nit: this could be

Test :man2:`userfaultfd` using UFFDIO_MOVE

which will be in docs converted into link to man page:

Test userfaultfd(2) using UFFDIO_MOVE.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hopefully fixed now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants