Re: [RFC PATCH 4/5] RCU: Add TASK_RCU_OFFSET

From: Peter Zijlstra
Date: Wed Apr 06 2011 - 04:11:06 EST


On Tue, 2011-04-05 at 16:07 -0700, Paul E. McKenney wrote:
>
> The next layer on this onion is the use of the ctl_table typedef
> in include/linux/key.h -- which is defined to be struct ctl_table.
> Anyone know where struct ctl_table is defined? Color me blind, but I
> am not seeing it...

include/linux/sysctl.h:1015

/* A sysctl table is an array of struct ctl_table: */
struct ctl_table
{
const char *procname; /* Text ID for /proc/sys, or zero */
void *data;
int maxlen;
mode_t mode;
struct ctl_table *child;
struct ctl_table *parent; /* Automatically set */
proc_handler *proc_handler; /* Callback for text formatting */
void *extra1;
void *extra2;
};

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