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 -+-

Reply via email to