From: Alan Cox <alan@lxorguk.ukuu.org.uk>
To: Andrew Morton <akpm@digeo.com>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linus Torvalds <torvalds@transmeta.com>
Subject: Re: PATCH: jiffies is UL
Date: 08 Apr 2003 13:01:11 +0100 [thread overview]
Message-ID: <1049803271.8113.20.camel@dhcp22.swansea.linux.org.uk> (raw)
In-Reply-To: <20030407174027.6f2c7b2d.akpm@digeo.com>
On Maw, 2003-04-08 at 01:40, Andrew Morton wrote:
> > -#define INITIAL_JIFFIES ((unsigned int) (-300*HZ))
> > +#define INITIAL_JIFFIES ((unsigned long) (-300*HZ))
> >
>
> No, this is deliberate. It triggers a wrap from 0x00000000ffffffff to
> 0x0000000100000000 after 5 minutes uptime on 64-bit machines, which has found
> bugs.
>
> The fix is to add a comment, so this patch stops coming out ;)
I which case it should be ((unsigned long)((unsigned int ....))
so the assignment type is right
prev parent reply other threads:[~2003-04-08 12:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-08 0:36 Alan Cox
2003-04-08 0:40 ` Andrew Morton
2003-04-08 12:01 ` Alan Cox [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1049803271.8113.20.camel@dhcp22.swansea.linux.org.uk \
--to=alan@lxorguk.ukuu.org.uk \
--cc=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®