From invite+p5hmmhhi at facebookmail.com Thu Jul 2 05:03:06 2009 From: invite+p5hmmhhi at facebookmail.com (Vivek J. Joshi) Date: Thu, 2 Jul 2009 03:03:06 -0700 Subject: Check out my photos on Facebook Message-ID: <750b0cdd4eac0ae5d84c6e7aa8c963db@localhost.localdomain> Hi kernel-mentors at selenic.com, I set up a Facebook profile where I can post my pictures, videos and events and I want to add you as a friend so you can see it. First, you need to join Facebook! Once you join, you can also create your own profile. Thanks, Vivek To sign up for Facebook, follow the link below: http://www.facebook.com/p.php?i=659091295&k=RZC6XYT5SVYM5GFFSC25YS&r kernel-mentors at selenic.com was invited to join Facebook by Vivek J. Joshi. If you do not wish to receive this type of email from Facebook in the future, please click on the link below to unsubscribe. http://www.facebook.com/o.php?k=f33c3e&u=1526214287&mid=b68307G5af82e8fG0G8 Facebook's offices are located at 1601 S. California Ave., Palo Alto, CA 94304. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090702/69635ca8/attachment.htm From d.capitella at tin.it Sun Jul 5 06:10:11 2009 From: d.capitella at tin.it (Donato Capitella) Date: Sun, 05 Jul 2009 13:10:11 +0200 Subject: Help with ext3 reserved inode Message-ID: <1246792217.9464.6.camel@kiba> Hi there, I need some help with a patch to the ext3 filesystem I'm developing. I'm completelly new to kernel programming and I need to understand practically how to use one of the ext3 reserved inode for storing a log. I thought it would be just as easy as getting the inode with the ext3_iget() function, but it doesn't seem to be the case. For example, if I try to load the third reserved inode like this : inode = ext3_iget(sb, 3); ext3_iget() fails somehow and crashes the process with a NULL pointer reference. What am I missing here? How do you use a reserved inode? Can anybody point to some documentation or project that uses reserved inodes? I'm really stuck :( Thanks a lot, Donato Capitella From charlieb at budge.apana.org.au Sun Jul 5 09:28:38 2009 From: charlieb at budge.apana.org.au (Charlie Brady) Date: Sun, 5 Jul 2009 10:28:38 -0400 (EDT) Subject: Help with ext3 reserved inode In-Reply-To: <1246792217.9464.6.camel@kiba> References: <1246792217.9464.6.camel@kiba> Message-ID: On Sun, 5 Jul 2009, Donato Capitella wrote: > I thought it would be just as easy as getting the inode with the > ext3_iget() function, but it doesn't seem to be the case. For example, > if I try to load the third reserved inode like this : > > inode = ext3_iget(sb, 3); > > ext3_iget() fails somehow and crashes the process with a NULL pointer > reference. What am I missing here? If you want someone to help find where you have gone wrong, it would make sense for you to post a pointer to your source code. From eddie.xychen at gmail.com Thu Jul 16 09:07:57 2009 From: eddie.xychen at gmail.com (Xingyuan Chen) Date: Thu, 16 Jul 2009 10:07:57 -0400 Subject: Measuring context swap time Message-ID: <1057084d0907160707v42ee89arb5f651985148e666@mail.gmail.com> Hi All, I am a Linux kernel newbie. Now I want to write a kernel module that can measure the context swap time between two processes using hrtimer. How do I implement this? More specifically, how do I access different processes in kernel module. I've read Linux kernel module programming guide but still don't have a clue. Is there any other useful references on Linux kernel modules? Any help will be greatly appreciated. Eddie -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090716/00d2eefb/attachment.htm From vclinton at msn.com Thu Jul 16 09:09:38 2009 From: vclinton at msn.com (Vaughn Clinton) Date: Thu, 16 Jul 2009 08:09:38 -0600 Subject: Measuring context swap time In-Reply-To: <1057084d0907160707v42ee89arb5f651985148e666@mail.gmail.com> References: <1057084d0907160707v42ee89arb5f651985148e666@mail.gmail.com> Message-ID: There might be an example in kprobes or systemTap that you can follow. Cheers, Date: Thu, 16 Jul 2009 10:07:57 -0400 Subject: Measuring context swap time From: eddie.xychen at gmail.com To: kernel-mentors at selenic.com Hi All, I am a Linux kernel newbie. Now I want to write a kernel module that can measure the context swap time between two processes using hrtimer. How do I implement this? More specifically, how do I access different processes in kernel module. I've read Linux kernel module programming guide but still don't have a clue. Is there any other useful references on Linux kernel modules? Any help will be greatly appreciated. Eddie _________________________________________________________________ More than messages?check out the rest of the Windows Live?. http://www.microsoft.com/windows/windowslive/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090716/d1d6efa3/attachment.htm From lostninja815 at live.com Wed Jul 22 00:43:47 2009 From: lostninja815 at live.com (Sri Kothapalle) Date: Wed, 22 Jul 2009 01:43:47 -0400 Subject: Get my feet wet Message-ID: Hello everyone, I am sure that you would have come across the following : I am a Kernel newbie and have been trying to keep up with the linux kernel, drivers and networking concepts. As I read through the material, I realized that the easier way to do this was by " Learning by doing" method and decided to get my feet wet. Can you please advice me a good place to start, I know lot of people have said Kernelnewbies.org but is there really a place to start by working on small parts of code,cleaning up code or best place to even start looking through the kernel code. Any advice here will be helpful. Thanks,Sri _________________________________________________________________ NEW mobile Hotmail. Optimized for YOUR phone. Click here. http://windowslive.com/Mobile?ocid=TXT_TAGLM_WL_CS_MB_new_hotmail_072009 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090722/0b917ddd/attachment.htm From shemminger at linux-foundation.org Wed Jul 22 11:57:49 2009 From: shemminger at linux-foundation.org (Stephen Hemminger) Date: Wed, 22 Jul 2009 09:57:49 -0700 Subject: Get my feet wet In-Reply-To: References: Message-ID: <20090722095749.5e32c3d2@nehalam> On Wed, 22 Jul 2009 01:43:47 -0400 Sri Kothapalle wrote: > > Hello everyone, > I am sure that you would have come across the following : I am a Kernel newbie and have been trying to keep up with the linux kernel, drivers and networking concepts. As I read through the material, I realized that the easier way to do this was by " Learning by doing" method and decided to get my feet wet. Can you please advice me a good place to start, I know lot of people have said Kernelnewbies.org but is there really a place to start by working on small parts of code,cleaning up code or best place to even start looking through the kernel code. Any advice here will be helpful. Find some topic that is of interest, and you have resources for and try something. There is no up to date TODO list, but get on netdev mailing list and see what common topics are. From 3lucid at gmail.com Wed Jul 22 21:21:56 2009 From: 3lucid at gmail.com (Kyle Spaans) Date: Wed, 22 Jul 2009 22:21:56 -0400 Subject: Get my feet wet In-Reply-To: <20090722095749.5e32c3d2@nehalam> References: <20090722095749.5e32c3d2@nehalam> Message-ID: <5a1205b30907221921p3ee53133lbbac40b37c8c8d2@mail.gmail.com> On Wed, 22 Jul 2009 01:43:47 -0400 Sri Kothapalle wrote: > Hello everyone, > I am a Kernel newbie and have been trying to keep up with the linux kernel I'd suggest following linux-next. The traffic isn't very heavy, and you can at least get an idea of where the latest changes are happening. Then you can have a look at those subsystems and see if the code is interesting. gl & hf From j.jorge.barreto at gmail.com Thu Jul 23 12:49:31 2009 From: j.jorge.barreto at gmail.com (Jorge Barreto) Date: Thu, 23 Jul 2009 18:49:31 +0100 Subject: Kernel-mentors Digest, Vol 46, Issue 4 In-Reply-To: References: Message-ID: <1248371371.3574.14.camel@jorge-laptop> > Hello everyone, > I am sure that you would have come across the following : I am a Kernel newbie and have been trying to keep up with the linux kernel, drivers and networking concepts. As I read through the material, I realized that the easier way to do this was by " Learning by doing" method and decided to get my feet wet. Can you please advice me a good place to start, I know lot of people have said Kernelnewbies.org but is there really a place to start by working on small parts of code,cleaning up code or best place to even start looking through the kernel code. Any advice here will be helpful. > Thanks,Sri Read book's of Operating Systems, Linux Kernel, Unix, Computer Architecture and for programming read book's about the C Language, C specifications learn to program in some functional language, perl or python to try to figure out some code ramifications, and build code checking tools . Also learn mathematic, you wile be amaze how you can simplify thing's. If you don't want this path go to the try and erro. ;) From julien at maladrie.fr Thu Jul 23 13:58:06 2009 From: julien at maladrie.fr (Julien Maladrie) Date: Thu, 23 Jul 2009 20:58:06 +0200 Subject: Kernel Tree implementation Message-ID: <23490993.2913541248375486487.JavaMail.servlet@kundenserver> Hello everyone, I'm trying to store a list of "file hashes" into a list. This list has to be really fast to browse. I first used the kernel linked list implementation because insertions were pretty quick. Is there any tree implementation within the kernel I could use? Thanks a lot, Julien From shemminger at linux-foundation.org Thu Jul 23 14:07:22 2009 From: shemminger at linux-foundation.org (Stephen Hemminger) Date: Thu, 23 Jul 2009 12:07:22 -0700 Subject: Kernel Tree implementation In-Reply-To: <23490993.2913541248375486487.JavaMail.servlet@kundenserver> References: <23490993.2913541248375486487.JavaMail.servlet@kundenserver> Message-ID: <20090723120722.1fe96a3e@nehalam> On Thu, 23 Jul 2009 20:58:06 +0200 Julien Maladrie wrote: > Hello everyone, > > I'm trying to store a list of "file hashes" into a list. This list has to be really fast to browse. I first used the kernel linked list implementation because insertions were pretty quick. Is there any tree implementation within the kernel I could use? > > Thanks a lot, > > Julien > _______________________________________________ > Kernel-mentors mailing list > Kernel-mentors at selenic.com > http://selenic.com/mailman/listinfo/kernel-mentors Kernel has red/black trees see: http://lwn.net/Articles/184495/ -- From julien at maladrie.fr Thu Jul 23 14:13:34 2009 From: julien at maladrie.fr (Julien Maladrie) Date: Thu, 23 Jul 2009 21:13:34 +0200 Subject: Kernel Tree implementation Message-ID: <29814556.2914871248376414122.JavaMail.servlet@kundenserver> Thanks! I went through those articles a while ago but did not succeed to implement it :( Should be fine now! Thanks a lot!! Julien > >On Thu, 23 Jul 2009, Julien Maladrie wrote: > >> I'm trying to store a list of "file hashes" into a list. This list has >> to be really fast to browse. I first used the kernel linked list >> implementation because insertions were pretty quick. Is there any tree >> implementation within the kernel I could use? > >http://lwn.net/Articles/175432/ >http://lwn.net/Articles/184495/ From charlieb at budge.apana.org.au Thu Jul 23 14:08:00 2009 From: charlieb at budge.apana.org.au (Charlie Brady) Date: Thu, 23 Jul 2009 15:08:00 -0400 (EDT) Subject: Kernel Tree implementation In-Reply-To: <23490993.2913541248375486487.JavaMail.servlet@kundenserver> References: <23490993.2913541248375486487.JavaMail.servlet@kundenserver> Message-ID: On Thu, 23 Jul 2009, Julien Maladrie wrote: > I'm trying to store a list of "file hashes" into a list. This list has > to be really fast to browse. I first used the kernel linked list > implementation because insertions were pretty quick. Is there any tree > implementation within the kernel I could use? http://lwn.net/Articles/175432/ http://lwn.net/Articles/184495/ From shanevolpe at gmail.com Thu Jul 23 17:18:24 2009 From: shanevolpe at gmail.com (Shane Volpe) Date: Thu, 23 Jul 2009 18:18:24 -0400 Subject: Kernel-mentors Digest, Vol 46, Issue 4 In-Reply-To: <1248371371.3574.14.camel@jorge-laptop> References: <1248371371.3574.14.camel@jorge-laptop> Message-ID: <8c7950360907231518g4528b97ah20ba476efbb2c28d@mail.gmail.com> >>Read book's of Operating Systems, Linux Kernel, Unix, Computer >>Architecture Jorge,Can you provide a list of recommended books for the topics you mentioned? Regards, Shane -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090723/bc592ab0/attachment.htm From charlieb at budge.apana.org.au Thu Jul 23 19:19:01 2009 From: charlieb at budge.apana.org.au (Charlie Brady) Date: Thu, 23 Jul 2009 20:19:01 -0400 (EDT) Subject: Kernel-mentors Digest, Vol 46, Issue 4 In-Reply-To: <8c7950360907231518g4528b97ah20ba476efbb2c28d@mail.gmail.com> References: <1248371371.3574.14.camel@jorge-laptop> <8c7950360907231518g4528b97ah20ba476efbb2c28d@mail.gmail.com> Message-ID: On Thu, 23 Jul 2009, Shane Volpe wrote: >>> Read book's of Operating Systems, Linux Kernel, Unix, Computer >>> Architecture > Jorge,Can you provide a list of recommended books for the topics you > mentioned? If you ask google or amazon, you can get a list of such books, and numerous reviews as well. From kleber.povoacao at gmail.com Tue Jul 28 07:43:05 2009 From: kleber.povoacao at gmail.com (kleber povoacao) Date: Tue, 28 Jul 2009 09:43:05 -0300 Subject: hello world Message-ID: <55e1889c0907280543t174ba169h42325772f49bc44c@mail.gmail.com> Hello all, I?d subscribe to this list to someone give me some help. Where?s start point ? I tried http://kernelnewbies.org/KernelJanitors/Todo but I didn?t understand very well how TO DO. Thanks Kleber Povoa??o -------------- next part -------------- An HTML attachment was scrubbed... URL: http://selenic.com/pipermail/kernel-mentors/attachments/20090728/86e95f77/attachment.htm From 3lucid at gmail.com Tue Jul 28 15:03:41 2009 From: 3lucid at gmail.com (Kyle Spaans) Date: Tue, 28 Jul 2009 16:03:41 -0400 Subject: hello world In-Reply-To: <55e1889c0907280543t174ba169h42325772f49bc44c@mail.gmail.com> References: <55e1889c0907280543t174ba169h42325772f49bc44c@mail.gmail.com> Message-ID: <5a1205b30907281303n660ac3cbr771701cff58386c@mail.gmail.com> It's tough to give a definitive starting point without knowing what you're interested it. If you didn't understand the TODO, perhaps you've got some homework to do. ;-) If you're looking for dead simple changes to make, pay attention to the Kernel Janitors mailing list. A few months ago I remember seeing a lot of patches to fix style/syntax errors from Sparse. Don't know what Sparse is? See http://www.kernel.org/pub/software/devel/sparse/. gl & hf From sal_electronics at hotmail.com Tue Jul 28 15:29:18 2009 From: sal_electronics at hotmail.com (Svetoslav Trochev) Date: Tue, 28 Jul 2009 13:29:18 -0700 Subject: hello world In-Reply-To: <5a1205b30907281303n660ac3cbr771701cff58386c@mail.gmail.com> References: <55e1889c0907280543t174ba169h42325772f49bc44c@mail.gmail.com> <5a1205b30907281303n660ac3cbr771701cff58386c@mail.gmail.com> Message-ID: Hi Kyle, Is this the right address for 'Kernel Janitors": http://janitor.kernelnewbies.org/ Thank you, Svetoslav Kyle Spaans wrote: > It's tough to give a definitive starting point without knowing what you're > interested it. If you didn't understand the TODO, perhaps you've got some > homework to do. ;-) > > If you're looking for dead simple changes to make, pay attention to the > Kernel Janitors mailing list. A few months ago I remember seeing a lot of > patches to fix style/syntax errors from Sparse. Don't know what Sparse is? > See http://www.kernel.org/pub/software/devel/sparse/. > > gl & hf > _______________________________________________ > Kernel-mentors mailing list > Kernel-mentors at selenic.com > http://selenic.com/mailman/listinfo/kernel-mentors > From 3lucid at gmail.com Tue Jul 28 15:36:28 2009 From: 3lucid at gmail.com (Kyle Spaans) Date: Tue, 28 Jul 2009 16:36:28 -0400 Subject: hello world In-Reply-To: References: <55e1889c0907280543t174ba169h42325772f49bc44c@mail.gmail.com> <5a1205b30907281303n660ac3cbr771701cff58386c@mail.gmail.com> Message-ID: <5a1205b30907281336y6d3d95f8j7182c7d09d0eed66@mail.gmail.com> On Tue, Jul 28, 2009 at 4:29 PM, Svetoslav Trochev wrote: > Is this the right address for 'Kernel Janitors": > http://janitor.kernelnewbies.org/ Yes, but I was meant to refer to the Kernel Janitors mailing list. My mistake!