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] [day] [month] [year] [list]
Message-ID: <20061109091404.GA23876@elte.hu>
Date:	Thu, 9 Nov 2006 10:14:04 +0100
From:	Ingo Molnar <mingo@...e.hu>
To:	Kevin Hilman <khilman@...sta.com>
Cc:	john cooper <john.cooper@...rd-harmonic.com>,
	Thomas Gleixner <tglx@...utronix.de>,
	linux-kernel@...r.kernel.org
Subject: Re: 2.6.18-rt7: rollover with 32-bit cycles_t


* Kevin Hilman <khilman@...sta.com> wrote:

> -	if (T2 < T1)
> +
> +	/* check for buggy clocks, handling wrap for 32-bit clocks */
> +	if (TYPE_EQUAL(cycles_t, unsigned long)) {
> +		if (time_after(T1, T2))
> +			printk("bug: %08x < %08x!\n", T2, T1);
> +	} else if (T2 < T1)
>  		printk("bug: %016Lx < %016Lx!\n", T2, T1);
> +	

ok, i have applied this one.

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