projects
/
pintos-anon
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f3135e
)
Make kernel_pool, user_pool static, since they are used only in palloc.c
author
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:12:12 +0000
(21:12 -0800)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Fri, 7 Nov 2008 05:12:12 +0000
(21:12 -0800)
Found by Godmar with his process-linker-map.pl.
src/threads/palloc.c
patch
|
blob
|
history
diff --git
a/src/threads/palloc.c
b/src/threads/palloc.c
index eab41e4811b15d074acf74ab27592d9eb56bb678..d5d513fec06871cbca165e1cfadfadc4895b5330 100644
(file)
--- a/
src/threads/palloc.c
+++ b/
src/threads/palloc.c
@@
-35,7
+35,7
@@
struct pool
};
/* Two pools: one for kernel data, one for user pages. */
-struct pool kernel_pool, user_pool;
+st
atic st
ruct pool kernel_pool, user_pool;
/* Maximum number of pages to put in user pool. */
size_t user_page_limit = SIZE_MAX;