Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
69ccf53d
Commit
69ccf53d
authored
Apr 28, 2005
by
simonmar
Browse files
[project @ 2005-04-28 15:44:16 by simonmar]
calcAllocated: fix small mis-calculation in the SMP case
parent
c84e392e
Changes
1
Hide whitespace changes
Inline
Side-by-side
ghc/rts/Storage.c
View file @
69ccf53d
...
...
@@ -747,7 +747,7 @@ calcAllocated( void )
#ifdef SMP
for
(
i
=
0
;
i
<
n_nurseries
;
i
++
)
{
Capability
*
cap
;
for
(
bd
=
capabilities
[
i
].
r
.
rCurrentNursery
;
for
(
bd
=
capabilities
[
i
].
r
.
rCurrentNursery
->
link
;
bd
!=
NULL
;
bd
=
bd
->
link
)
{
allocated
-=
BLOCK_SIZE_W
;
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment