Jan. 3, 2021
6:26 p.m.
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.