aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorStanislaw Gruszka <[email protected]>2010-09-14 16:35:14 +0200
committerIngo Molnar <[email protected]>2010-09-15 10:41:36 +0200
commite75e863dd5c7d96b91ebbd241da5328fc38a78cc (patch)
treeb7b67512b6b610c8ee90149c9b48dbaeeb1e4910 /net/unix/sysctl_net_unix.c
parent9c03f1622af051004416dd3e24d8a0fa31e34178 (diff)
sched: Fix user time incorrectly accounted as system time on 32-bit
We have 32-bit variable overflow possibility when multiply in task_times() and thread_group_times() functions. When the overflow happens then the scaled utime value becomes erroneously small and the scaled stime becomes i erroneously big. Reported here: https://bugzilla.redhat.com/show_bug.cgi?id=633037 https://bugzilla.kernel.org/show_bug.cgi?id=16559 Reported-by: Michael Chapman <[email protected]> Reported-by: Ciriaco Garcia de Celis <[email protected]> Signed-off-by: Stanislaw Gruszka <[email protected]> Signed-off-by: Peter Zijlstra <[email protected]> Cc: Hidetoshi Seto <[email protected]> Cc: <[email protected]> # 2.6.32.19+ (partially) and 2.6.33+ LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions