Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CSEP551
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Krishna Vinnakota
CSEP551
Commits
af03ab14
Commit
af03ab14
authored
14 years ago
by
Frans Kaashoek
Browse files
Options
Downloads
Patches
Plain Diff
a few nits
passes all tests on two-processor smp
parent
b364c4b8
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bio.c
+0
-1
0 additions, 1 deletion
bio.c
exec.c
+1
-1
1 addition, 1 deletion
exec.c
kalloc.c
+0
-2
0 additions, 2 deletions
kalloc.c
with
1 addition
and
4 deletions
bio.c
+
0
−
1
View file @
af03ab14
...
...
@@ -109,7 +109,6 @@ bread(uint dev, uint sector)
void
bwrite
(
struct
buf
*
b
)
{
cprintf
(
"bwrite sector %d
\n
"
,
b
->
sector
);
if
((
b
->
flags
&
B_BUSY
)
==
0
)
panic
(
"bwrite"
);
b
->
flags
|=
B_DIRTY
;
...
...
This diff is collapsed.
Click to expand it.
exec.c
+
1
−
1
View file @
af03ab14
...
...
@@ -102,7 +102,7 @@ exec(char *path, char **argv)
return
0
;
bad:
freevm
(
pgdir
);
if
(
pgdir
)
freevm
(
pgdir
);
iunlockput
(
ip
);
return
-
1
;
}
This diff is collapsed.
Click to expand it.
kalloc.c
+
0
−
2
View file @
af03ab14
...
...
@@ -111,8 +111,6 @@ kalloc(int n)
}
}
release
(
&
kmem
.
lock
);
cprintf
(
"kalloc: out of memory
\n
"
);
return
0
;
}
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