dereferencing filenames from a vfs_write probe

Ananth N Mavinakayanahalli ananth@in.ibm.com
Fri Mar 21 04:31:00 GMT 2008


On Thu, Mar 20, 2008 at 05:14:30PM -0700, Jim Keniston wrote:
> On Thu, 2008-03-20 at 16:04 -0500, dave@skeptech.org wrote:
> ...
> > > 
> > > Keep in mind that a handler mustn't sleep, so you should use GFP_ATOMIC
> > > rather than GFP_KERNEL.
> > 
> > Thanks. I'd be lying if I said I understood the distinction.  Can anyone
> > reccommend a book/site to help a sysadmin familiar with C get up to speed on
> > the kernel internals?
> 
> Don't ask me about books.  I'm still using "Understanding the Linux
> Kernel" by Boven & Cesati (published by O'Reilly).  The edition I have
> on hand is old -- each chapter has a section called "Anticipating Linux
> 2.4" -- but much of the info is still relevant.
> 
> In the kernel source, cd Documentation, and fire away with ls, find, and
> grep.  On the web, www.kroah.com/linux has some good stuff.
> http://kernelnewbies.org is another possibility.

The latest edition of Linux Kernel Programming by Robert Love is a good
reference.

Also, Linux Device Drivers 3rd edition, available for free at
http://lwn.net/Kernel/LDD3/.

Ananth



More information about the Systemtap mailing list