Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1470144 > unrolled thread
| Started by | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| First post | 2016-08-25 15:30 +0200 |
| Last post | 2016-08-27 17:30 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn clc into unsigned long Thomas Gleixner <tglx@linutronix.de> - 2016-08-25 15:30 +0200
Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn clc into unsigned long Nicolai Stange <nicstange@gmail.com> - 2016-08-27 17:30 +0200
| From | Thomas Gleixner <tglx@linutronix.de> |
|---|---|
| Date | 2016-08-25 15:30 +0200 |
| Subject | Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn clc into unsigned long |
| Message-ID | <sa2Tf-1tU-29@gated-at.bofh.it> |
On Tue, 23 Aug 2016, Nicolai Stange wrote: > Right now, being of type unsigned long long, the clc local variable in > clockevents_program_event() is unnecessarily wide as it gets cast to > unsigned long anyway. Congrats! You just broke 32bit systems. When delta is sufficiently large then the mult overflows.... Thanks, tglx
[toc] | [next] | [standalone]
| From | Nicolai Stange <nicstange@gmail.com> |
|---|---|
| Date | 2016-08-27 17:30 +0200 |
| Subject | Re: [RFC v4 14/22] clockevents: clockevents_program_event(): turn clc into unsigned long |
| Message-ID | <saNIu-6dz-23@gated-at.bofh.it> |
| In reply to | #1470144 |
Thomas Gleixner <tglx@linutronix.de> writes:
> On Tue, 23 Aug 2016, Nicolai Stange wrote:
>
>> Right now, being of type unsigned long long, the clc local variable in
>> clockevents_program_event() is unnecessarily wide as it gets cast to
>> unsigned long anyway.
>
> Congrats! You just broke 32bit systems. When delta is sufficiently large then
> the mult overflows....
The 32bit breakage has been introduced in [13/22] ("clockevents: check a
programmed delta's bounds in terms of cycles") already -- please see my
reply there.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web