Results 1 to 1 of 1
Hello all,
I am tracing 2.6.18 kernel(DL from kernel.org) using KDB. When I set a breakpoint on do_generic_mapping_read, it is often executed and stop on the breakpoint. BUT, when I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-06-2007 #1Just Joined!
- Join Date
- Apr 2007
- Posts
- 1
2.6.18, the execution of do_generic_mapping_read
Hello all,
I am tracing 2.6.18 kernel(DL from kernel.org) using KDB. When I set a breakpoint on do_generic_mapping_read, it is often executed and stop on the breakpoint. BUT, when I set the breakpoint on line 988 as this:
986 readpage:
987 /* Start the actual read. The read will unlock the page. */
988 -> error = mapping->a_ops->readpage(filp, page);
It does not stop on the breakpoint at all, even when I am reading some random disk files which is never accessed and will not be in the buffer cache.
I want to know the reason, what does it happen in do_generic_mapping_read when a disk file is accessing? or KDB can not catch the execution of line 988?


Reply With Quote
