[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20090520075318.GA23959@elte.hu>
Date: Wed, 20 May 2009 09:53:18 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Linus Torvalds <torvalds@...ux-foundation.org>
Cc: Martin Knoblauch <spamtrap@...bisoft.de>,
Matt Mackall <mpm@...enic.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: Rgeression: 2.6.30-rc6-git3 build error - ICE from
drivers/char/random.c
* Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> On Tue, 19 May 2009, Linus Torvalds wrote:
> >
> > I guess getting rid of 'jiffies' is also worth it. Even at its very worst,
> > 'get_cycles()' should return jiffy-level information, so adding in jiffies
> > doesn't add anything to it.
>
> I take that back. If there isno TSC at all, "get_cycles()" might
> just be returning zero. So the jiffies fallback is probably better
> than nothing.
>
> So I'll just remove the (long)&ret part. [...]
I suspect we could add current_thread_info() or 'current' to it - as
they are initialized variables. (which the stack pointer mostly
boils down to - the stack depth is predictable)
Not worth the trouble though i suspect.
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