Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
kernel
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ACS
Public
HermitOS
kernel
Commits
1ed27875
Commit
1ed27875
authored
2 years ago
by
Stefan Lankes
Browse files
Options
Downloads
Patches
Plain Diff
test smaller alignments
a thread local storage doesn't align data to page boundries
parent
907f8af6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/thread.rs
+1
-1
1 addition, 1 deletion
tests/thread.rs
with
1 addition
and
1 deletion
tests/thread.rs
+
1
−
1
View file @
1ed27875
...
@@ -90,7 +90,7 @@ pub fn test_futex() {
...
@@ -90,7 +90,7 @@ pub fn test_futex() {
#[test_case]
#[test_case]
pub
fn
test_thread_local
()
{
pub
fn
test_thread_local
()
{
#[repr(C,
align(
0x10
00
))]
#[repr(C,
align(
0x10
))]
struct
AlignedByte
(
u8
);
struct
AlignedByte
(
u8
);
#[thread_local]
#[thread_local]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment