lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 06 Mar 2014 13:57:17 -0500
From:	Rik van Riel <>
To:	Frederic Weisbecker <>,
	LKML <>
CC:	Ingo Molnar <>,
	Marcelo Tosatti <>,
	Peter Zijlstra <>,
	Thomas Gleixner <>
Subject: Re: [PATCH 1/6] cputime: Fix nsecs_to_cputime() return type cast

On 03/06/2014 12:56 PM, Frederic Weisbecker wrote:
> Even though nsec based cputime_t maps to u64, nsecs_to_cputime() must
> return a cputime_t value. We want to enforce this kind of cast in order
> to track down buggy manipulations of cputime_t such as direct access
> of its values under wrong assumptions on its backend type (nsecs,
> jiffies, etc...) by core code.
> Cc: Ingo Molnar <>
> Cc: Marcelo Tosatti <>
> Cc: Peter Zijlstra <>
> Cc: Thomas Gleixner <>
> Signed-off-by: Frederic Weisbecker <>

Acked-by: Rik van Riel <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

Powered by blists - more mailing lists