diff options
| author | Peter Zijlstra <[email protected]> | 2017-11-17 23:28:12 +0000 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2017-11-18 00:10:01 +0000 |
| commit | e813a614007e3a8a7b53d976e86d9a20f21f81ad (patch) | |
| tree | a9e47515bf36699de4cf802a281b161525aa633e /lib/genalloc.c | |
| parent | lib/int_sqrt: optimize initial value compute (diff) | |
| download | kernel-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
