On Thu, Dec 20, 2018 at 11:04:07AM +0200, Yuval Shaia wrote: > When memory registration is needed for page count which exceeds the > allowed lock limit the function exits with an error but no error is > printed. > Since this is a case that system administrator can fix (rlimit etc) we > need to give an alert. > This is not a data patch so performance penalty is not a consideration. It is user triggerable print and simple loop execution will spam dmesg. Maybe you should use ratelimit ariant of pr_err. Thanks
Attachment:
signature.asc
Description: PGP signature