Re: Calculating kernel logical address ..

David S. Miller (davem@redhat.com)
Mon, 09 Sep 2002 11:46:40 -0700 (PDT)


From: "Imran Badr" <imran.badr@cavium.com>
Date: Mon, 9 Sep 2002 11:49:02 -0700

down(&current->mm->mmap_sem) would help.

Yes and get_user_pages() grabs a reference to all the pages
for you.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/