Skip to content

Conversation

@lplewa
Copy link
Contributor

@lplewa lplewa commented Dec 5, 2024

I guess it will fail

bratpiorka and others added 2 commits December 5, 2024 18:26
…CE_MODE_ATTACH_REALCREDS_permission

Add info about the `PTRACE_MODE_ATTACH_REALCREDS` permission
@lplewa lplewa changed the title Unalligned alloc add test dax_provider_purge_force on unalligned address Dec 5, 2024
@bratpiorka
Copy link
Contributor

PASSED!

test_alloc_free_success(provider.get(), page_size, 0, PURGE_FORCE);
}

TEST_P(umfProviderTest, purge_force_unalligned_alloc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

unalligned -> unaligned

test_alloc_free_success(provider.get(), page_size, 0, PURGE_FORCE);
}

TEST_P(umfProviderTest, purge_force_unalligned_alloc) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it that devdax malloc is always aligned?

if (IS_NOT_ALIGNED(alignment, DEVDAX_PAGE_SIZE_2MB)) {
alignment = ALIGN_UP(alignment, DEVDAX_PAGE_SIZE_2MB);
}

@lplewa lplewa closed this Dec 6, 2024
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.

3 participants