Re: [PATCH 1/5] user_hooks: New user hooks subsystem

From: Peter Zijlstra
Date: Tue Jul 31 2012 - 13:34:54 EST


On Tue, 2012-07-31 at 16:57 +0200, Ingo Molnar wrote:
>
> 'callback', while a longer word, is almost always used as a noun
> within the kernel - and it also has a pretty narrow meaning.

An altogether different naming would be something like:

struct user_kernel_tracking {
int want_uk_tracking;
enum {
in_kernel = 0,
in_user,
} uk_state;
};


--
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/