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]
Date:	Tue, 20 Mar 2007 20:50:51 +0100
From:	Artur Skawina <art_k@...pl>
To:	Al Boldi <a1426z@...ab.com>
CC:	linux-kernel@...r.kernel.org
Subject: Re: RSDL v0.31

Al Boldi wrote:
> --- sched.bak.c	2007-03-16 23:07:23.000000000 +0300
> +++ sched.c	2007-03-19 23:49:40.000000000 +0300
> @@ -938,7 +938,11 @@ static void activate_task(struct task_st
>  				     (now - p->timestamp) >> 20);
>  	}
>  
> -	p->quota = rr_quota(p);
> +	/*
> +	 * boost factor hardcoded to 5; adjust to your liking
> +	 * higher means more likely to DoS
> +	 */
> +	p->quota = rr_quota(p) + (((now - p->timestamp) >> 20) * 5);
>  	p->prio = effective_prio(p);
>  	p->timestamp = now;
>  	__activate_task(p, rq);

i've tried this and it lasted only a few minutes -- i was seeing
mouse cursor stalls lasting almost 1s. i/o bound tasks starving X?
After reverting the patch everything is smooth again.

artur

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ