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-next>] [day] [month] [year] [list]
Message-ID: <47280DE6.7030606@cosmosbay.com>
Date:	Wed, 31 Oct 2007 06:08:54 +0100
From:	Eric Dumazet <dada1@...mosbay.com>
To:	Ingo Molnar <mingo@...e.hu>, Paul Menage <menage@...gle.com>
CC:	Linux kernel <linux-kernel@...r.kernel.org>
Subject: [PATCH] CFS : Use NSEC_PER_MSEC and NSEC_PER_SEC in kernel/sched.c
 and kernel/sysctl.c

1) hardcoded 1000000000 value is used five times in places where NSEC_PER_SEC 
might be more readable.

2) A conversion from nsec to msec uses the hardcoded 1000000 value, which is a 
candidate for NSEC_PER_MSEC.

Signed-off-by: Eric Dumazet <dada1@...mosbay.com>


View attachment "nsec_per_msec.patch" of type "text/plain" (1794 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ