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

From: Paul E. McKenney
Date: Wed Apr 06 2011 - 15:21:32 EST


On Wed, Apr 06, 2011 at 10:10:28AM +0200, Peter Zijlstra wrote:
> 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

Thank you!

Thanx, Paul

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