Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Linux 5.12 update: bio_max_segs() replaces BIO_MAX_PAGES | Coleman Kane | 2021-03-19 | 1 | -0/+23 |
The BIO_MAX_PAGES macro is being retired in favor of a bio_max_segs() function that implements the typical MIN(x,y) logic used throughout the kernel for bounding the allocation, and also the new implementation is intended to be signed-safe (which the former was not). Reviewed-by: Tony Hutter <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Coleman Kane <[email protected]> Closes #11765 |