2 futex questions

From: alfred@leakybucket.org
Date: Tue Sep 24 2002 - 19:33:53 EST


1) There's a comment in sys_futex(...) that says pos_in_page must not be on a page boundary.
Could someone explain why?

2) How is this ever true:
        pos_in_page + sizeof(int) > PAGE_SIZE
when checking if pos_in_page is valid?

Thanks,
Alfred Landrum
-
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/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:22 EST