aboutsummaryrefslogtreecommitdiffstats
path: root/lib/genalloc.c
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2017-11-17 23:28:12 +0000
committerLinus Torvalds <[email protected]>2017-11-18 00:10:01 +0000
commite813a614007e3a8a7b53d976e86d9a20f21f81ad (patch)
treea9e47515bf36699de4cf802a281b161525aa633e /lib/genalloc.c
parentlib/int_sqrt: optimize initial value compute (diff)
downloadkernel-e813a614007e3a8a7b53d976e86d9a20f21f81ad.tar.gz
kernel-e813a614007e3a8a7b53d976e86d9a20f21f81ad.zip
lib/int_sqrt: adjust comments
Our current int_sqrt() is not rough nor any approximation; it calculates the exact value of: floor(sqrt()). Document this. Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Acked-by: Linus Torvalds <[email protected]> Cc: Anshul Garg <[email protected]> Cc: Davidlohr Bueso <[email protected]> Cc: David Miller <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joe Perches <[email protected]> Cc: Kees Cook <[email protected]> Cc: Matthew Wilcox <[email protected]> Cc: Michael Davidson <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Will Deacon <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/genalloc.c')
0 files changed, 0 insertions, 0 deletions