[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200703251839.24148.kernel@kolivas.org>
Date: Sun, 25 Mar 2007 18:39:23 +1000
From: Con Kolivas <kernel@...ivas.org>
To: Ingo Molnar <mingo@...e.hu>
Cc: linux list <linux-kernel@...r.kernel.org>, malc <av1474@...tv.ru>,
zwane@...radead.org, ck list <ck@....kolivas.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Thomas Gleixner <tglx@...utronix.de>
Subject: Re: [patch] sched: accurate user accounting
On Sunday 25 March 2007 17:51, Ingo Molnar wrote:
> * Con Kolivas <kernel@...ivas.org> wrote:
> > For an rsdl 0.33 patched kernel. Comments? Overhead worth it?
>
> we want to do this - and we should do this to the vanilla scheduler
> first and check the results. I've back-merged the patch to before RSDL
> and have tested it - find the patch below. Vale, could you try this
> patch against a 2.6.21-rc4-ish kernel and re-test your testcase?
Great. That should fix a lot of misconceptions about cpu usage and HZ.
However-
> +/*
> + * Some helpers for converting nanosecond timing to jiffy resolution
> + */
> +#define NS_TO_JIFFIES(TIME) ((TIME) / (1000000000 / HZ))
> +#define JIFFIES_TO_NS(TIME) ((TIME) * (1000000000 / HZ))
> +
This hunk is already in mainline so it will be double defined now.
Thanks.
--
-ck
-
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