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