Re: [openib-general] Re: [PATCH][RFC][0/4] InfiniBand userspace verbs implementation

Timur Tabi
2005-05-04T18:29:57Z

Libor Michalek wrote:

> The program opens the charcter device file descriptor, pins the pages
> and waits for a signal, before checking the pages, which is sent to the
> process after running some other program which exercises the VM. On older
> kernels the check fails, on my 2.6.11 kernel the check succeeds. So
> mlock is not needed on top of get_user_pages() as it was before.

Libor,

When you say "older", what exactly do you mean? I have different test that normally fails
with just get_user_pages(), but it works with 2.6.9 and above. I haven't been able to get
any kernel earlier than 2.6.9 to compile or boot properly, so I'm having a hard time
narrowing down the actual point when get_user_pages() started working.

--
Timur Tabi
Staff Software Engineer
timur.tabi@ammasso.com

One thing a Southern boy will never say is,
"I don't think duct tape will fix it."
-- Ed Smylie, NASA engineer for Apollo 13