Re: [take3 0/4] kevent: Generic event handling mechanism.

From: Evgeniy Polyakov
Date: Thu Aug 03 2006 - 05:39:24 EST


On Thu, Aug 03, 2006 at 01:45:59PM +0400, Evgeniy Polyakov (johnpol@xxxxxxxxxxx) wrote:
> Changes from 'take2' patchset:
> * split kevent_finish_user() to locked and unlocked variants
> * do not use KEVENT_STAT ifdefs, use inline functions instead
> * use array of callbacks of each type instead of each kevent callback initialization
> * changed name of ukevent guarding lock
> * use only one kevent lock in kevent_user for all hash buckets instead of per-bucket locks
> * do not use kevent_user_ctl structure instead provide needed arguments as syscall parameters
> * various indent cleanups
> * mapped buffer (initial) implementation (no userspace yet)

Also added optimisation aimed to help when a lot of kevents are being
copied from userspace in one syscall.

--
Evgeniy Polyakov
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/