On Sun, 2021-01-03 at 12:54 -0500, Sadanand Warrier wrote: > > So the question is what should happen if the memory isn't actually > allocated. Should get_user_pages check? > It doesn't seem to be doing so. Can it? If the driver needs the memory to be allocated, why not use the FOLL_POPULATE flag when calling get_user_pages? -- All Rights Reversed.
Attachment:
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies