lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20161025093958.GT21757@e106622-lin>
Date:   Tue, 25 Oct 2016 10:39:58 +0100
From:   Juri Lelli <juri.lelli@....com>
To:     Tommaso Cucinotta <tommaso.cucinotta@...up.it>
Cc:     Luca Abeni <luca.abeni@...tn.it>,
        Juri Lelli <juri.lelli@...il.com>,
        Peter Zijlstra <peterz@...radead.org>,
        linux-kernel@...r.kernel.org,
        Daniel Bistrot de Oliveira <danielbristot@...il.com>,
        Tommaso Cucinotta <tommaso@....org>
Subject: Re: [RFC PATCH] sched/deadline: show leftover runtime and abs
 deadline in /proc/*/sched

Hi,

On 25/10/16 00:32, Tommaso Cucinotta wrote:
> From: Tommaso Cucinotta <tommaso@....org>

You should probably commit from your sssup address?

Also changelog is missing. You can simply put here part of your cover
letter wordings.

> 
> ---
>  kernel/sched/debug.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> diff --git a/kernel/sched/debug.c b/kernel/sched/debug.c
> index fa178b6..109adc0 100644
> --- a/kernel/sched/debug.c
> +++ b/kernel/sched/debug.c
> @@ -953,6 +953,10 @@ void proc_sched_show_task(struct task_struct *p, struct seq_file *m)
>  #endif
>  	P(policy);
>  	P(prio);
> +	if (p->policy == SCHED_DEADLINE) {
> +		P(dl.runtime);
> +		P(dl.deadline);
> +	}

For testing purposes looks ok to me.

Best,

- Juri

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ