From mboxrd@z Thu Jan 1 00:00:00 1970 From: john@jjdev.com (John de la Garza) Date: Thu, 16 Apr 2015 11:32:03 -0700 Subject: Kernel thread scheduling In-Reply-To: <20150416145646.GA25677@www.mrbrklyn.com> References: <508921156.2279151.1426919611846.JavaMail.yahoo@mail.yahoo.com> <20150322231449.GA3235@vinc94-desktop> <550F509A.9030207@gmail.com> <550F58E3.1080500@mrbrklyn.com> <550F5FDD.7090602@gmail.com> <55272CA2.2090603@mrbrklyn.com> <55272EA8.7010908@gmail.com> <55273179.2030706@mrbrklyn.com> <55273AD3.1010000@gmail.com> <20150416145646.GA25677@www.mrbrklyn.com> Message-ID: <20150416183202.GA23704@vega.jjdev.com> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org On Thu, Apr 16, 2015 at 10:56:46AM -0400, Ruben Safir wrote: > I'm trying to find rb_node's structure and I can't find it with ctags or > in the http://lxr.linux.no website. > > > How do you search these things out? I run: make ctags run vim type: :ts rb_node then I scanned the list for things that are from include/linux and found this 20 F s rb_node include/linux/rbtree.h struct rb_node { I select 20 and it takes me to include/linux/rbtree.h and puts me at the line containing this: struct rb_node { unsigned long __rb_parent_color; struct rb_node *rb_right; struct rb_node *rb_left; } __attribute__((aligned(sizeof(long)))); /* The alignment might seem pointless, but allegedly CRIS needs it */