[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 8/8] mach-defpager: silently ignore requests to page to active pa
From: |
Justus Winter |
Subject: |
[PATCH 8/8] mach-defpager: silently ignore requests to page to active partition |
Date: |
Wed, 12 Mar 2014 15:55:54 +0100 |
Currently, if mach-defpager is asked to page to an already active
partition, it ignores this request and returns success. It does,
however, print a message about this to stdout.
This message might indicate to the user that there is some kind of a
problem with the configuration of the machine, even though the code in
new_partition clearly does not consider it an error to do such an
request.
* mach-defpager/default_pager.c (new_partition): Do not print a
message if requested to page to an already active partition.
---
mach-defpager/default_pager.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/mach-defpager/default_pager.c b/mach-defpager/default_pager.c
index 362697e..8f8e13e 100644
--- a/mach-defpager/default_pager.c
+++ b/mach-defpager/default_pager.c
@@ -209,8 +209,6 @@ new_partition (const char *name, struct file_direct *fdp,
part = partition_of(i);
if (part && part->id == id)
{
- printf ("(default pager): Already paging to partition %s!\n",
- name);
pthread_mutex_unlock(&all_partitions.lock);
return 0;
}
--
1.9.0
- [PATCH 1/8] mach-defpager: remove comments around form feeds, Justus Winter, 2014/03/12
- [PATCH 3/8] mach-defpager: add and use synchronized_printf for dprintf, Justus Winter, 2014/03/12
- [PATCH 4/8] mach-defpager: fix error handling in S_default_pager_object_set_size, Justus Winter, 2014/03/12
- [PATCH 5/8] mach-defpager: fix warning about uninitialized variable, Justus Winter, 2014/03/12
- [PATCH 2/8] mach-defpager: fix warnings about unused variables, Justus Winter, 2014/03/12
- [PATCH 8/8] mach-defpager: silently ignore requests to page to active partition,
Justus Winter <=
- [PATCH 6/8] mach-defpager: fix warnings about uninitialized variables, Justus Winter, 2014/03/12
- [PATCH 7/8] mach-defpager: fix type of size arguments, Justus Winter, 2014/03/12
- Re: [PATCH 1/8] mach-defpager: remove comments around form feeds, Samuel Thibault, 2014/03/12