lib/int_sqrt: adjust comments
authorPeter Zijlstra <[email protected]>
Fri, 17 Nov 2017 23:28:12 +0000 (15:28 -0800)
committerLinus Torvalds <[email protected]>
Sat, 18 Nov 2017 00:10:01 +0000 (16:10 -0800)
commite813a614007e3a8a7b53d976e86d9a20f21f81ad
treea9e47515bf36699de4cf802a281b161525aa633e
parentf8ae107eef209bff29a5816bc1aad40d5cd69a80
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]>
lib/int_sqrt.c