[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 8/8] mach-defpager: silently ignore requests to page to activ
From: |
Samuel Thibault |
Subject: |
Re: [PATCH 8/8] mach-defpager: silently ignore requests to page to active partition |
Date: |
Thu, 13 Mar 2014 00:09:36 +0100 |
User-agent: |
Mutt/1.5.21+34 (58baf7c9f32f) (2010-12-30) |
Justus Winter, le Wed 12 Mar 2014 15:55:54 +0100, a écrit :
> 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.
Ack.
> * 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
>
--
Samuel
Cliquez sur le lien qui suit dans ce mail...vous n'avez plus qu'a vous
inscrire pour gagner de l'argent en restant connecte....et puis faites
passer le message et vous gagnerez encore plus d'argent ...
-+- AC in NPC : Neuneu a rencontré le Pere Noël -+-
- [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, 2014/03/12
- Re: [PATCH 8/8] mach-defpager: silently ignore requests to page to active partition,
Samuel Thibault <=
- [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