Urgg, yet another sys_futex extension. Could you please split all
these totally different cases into separate syscalls instead?
> + wake_up_all(&this->waiters);
> + if (this->filp)
> + send_sigio(&this->filp->f_owner, this->fd, POLL_IN);
> + } else {
> + unpin_page(this->page);
> + __pin_page_atomic (page2);
> + list_add_tail(i, head2);
> + __attach_vcache(&this->vcache, uaddr2, current->mm, futex_vcache_callback);
Please linewrap after 80 lines, thanks.
> + case FUTEX_REQUEUE:
> + pos_in_page2 = uaddr2 % PAGE_SIZE;
> +
> + /* Must be "naturally" aligned */
> + if (pos_in_page2 % sizeof(u32))
> + return -EINVAL;
Who guarantess that the alignment of u32 is always the same as it's size?
-
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/