#include #include int foobar(struct mm_struct *mm); int foobar(struct mm_struct *mm) { mmap_write_lock (mm); mmap_read_unlock (mm); return 0; }