summaryrefslogtreecommitdiff
path: root/mach-defpager
diff options
context:
space:
mode:
authorMaksym Planeta <mcsim.planeta@gmail.com>2012-04-07 18:02:03 +0300
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-04-08 22:11:55 +0200
commit116fc73d851c49a40206e45e9af098669417f391 (patch)
tree27181755456d0c5f2398f529240592ed03d68641 /mach-defpager
parent44108fc1a013dd78830f2cac2489a280226f3776 (diff)
Set size of object, when it is created.
* mach-defpager/default_pager.c (S_default_pager_object_create): Set pager limit to the given size.
Diffstat (limited to 'mach-defpager')
-rw-r--r--mach-defpager/default_pager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 23ab7813..5d252443 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -3318,6 +3318,7 @@ rename_it:
*/
ds->pager = port;
+ ds->dpager.limit = size;
pager_port_list_insert(port, ds);
default_pager_add(ds, FALSE);