Marc E. Fiuczynski wrote:

Hi Shailabh,

Tried using your version of cfq-iosched.c in 2.6.8.1. On boot it would get
the following debug message, which appears to be caused by the call to
mempool_alloc() from cfq_get_queue. The 2.6.8.1 version of cfq-iosched.c
calls mempoll_alloc with a GFP_ATOMIC flag rather than GFP_NOIO. Any way,
I'll wait for you to finish the port of your work in e16 to 2.6.8.1.


Thanks - that doesn't look good. Will look into it when I get back to the iosched.


-- Shailabh


Sep 17 15:06:38 mef-work-laptop kernel: Debug: sleeping function called from invalid context at mm/mempool.c:197 Sep 17 15:06:38 mef-work-laptop kernel: in_atomic():0[expected: 0], irqs_disabled():1 Sep 17 15:06:38 mef-work-laptop kernel: [<02114e4c>] __might_sleep+0x82/0x8c Sep 17 15:06:38 mef-work-laptop rpc.statd[1131]: Version 1.0.6 Starting Sep 17 15:06:38 mef-work-laptop kernel: [<021458f6>] mempool_alloc+0x68/0x237 Sep 17 15:06:38 mef-work-laptop kernel: [<021155ff>] autoremove_wake_function+0x0/0x2d Sep 17 15:06:38 mef-work-laptop kernel: [<02145907>] mempool_alloc+0x79/0x237 Sep 17 15:06:38 mef-work-laptop kernel: [<021155ff>] autoremove_wake_function+0x0/0x2d Sep 17 15:06:38 mef-work-laptop kernel: [<02213b4e>] cfq_get_queue+0x4c/0xac Sep 17 15:06:38 mef-work-laptop kernel: [<02213bd4>] __cfq_enqueue+0x26/0x141 Sep 17 15:06:38 mef-work-laptop kernel: [<02213d78>] cfq_enqueue+0x31/0x63 Sep 17 15:06:38 mef-work-laptop kernel: [<0220a0f2>] __elv_add_request+0x35/0x6a Sep 17 15:06:38 mef-work-laptop kernel: [<0220cfda>] __make_request+0x51c/0x5d4 Sep 17 15:06:38 mef-work-laptop kernel: [<0220d21e>] generic_make_request+0x18c/0x19c Sep 17 15:06:38 mef-work-laptop kernel: [<0220d2d2>] submit_bio+0xa4/0xac Sep 17 15:06:38 mef-work-laptop kernel: [<0216c7f5>] submit_bh+0x5e/0x101 Sep 17 15:06:38 mef-work-laptop kernel: [<021b4521>] ext3_get_inode_loc+0x1a0/0x20d Sep 17 15:06:38 mef-work-laptop kernel: [<021b4645>] ext3_read_inode+0x2e/0x301 Sep 17 15:06:38 mef-work-laptop kernel: [<02185398>] alloc_inode+0x12/0x14f Sep 17 15:06:38 mef-work-laptop kernel: [<021865b0>] get_new_inode_fast+0xb5/0x21f Sep 17 15:06:38 mef-work-laptop kernel: [<021b6468>] ext3_lookup+0x57/0x89 Sep 17 15:06:38 mef-work-laptop kernel: [<0217707b>] real_lookup+0x73/0xde Sep 17 15:06:38 mef-work-laptop kernel: [<021773dd>] do_lookup+0x43/0x72 Sep 17 15:06:38 mef-work-laptop kernel: [<021779bd>] link_path_walk+0x5b1/0x1048 Sep 17 15:06:38 mef-work-laptop kernel: [<0214bded>] cache_free_debugcheck+0x192/0x199 Sep 17 15:06:38 mef-work-laptop kernel: [<021786cd>] path_lookup+0xfd/0x104 Sep 17 15:06:38 mef-work-laptop kernel: [<02178d35>] open_namei+0xa0/0x566 Sep 17 15:06:38 mef-work-laptop kernel: [<02166a48>] filp_open+0x23/0x3c Sep 17 15:06:38 mef-work-laptop kernel: [<0214a904>] poison_obj+0x1b/0x33 Sep 17 15:06:38 mef-work-laptop kernel: [<0214c201>] cache_alloc_debugcheck_after+0xc6/0xf4 Sep 17 15:06:38 mef-work-laptop kernel: [<02166f71>] sys_open+0x31/0x62 Sep 17 15:06:38 mef-work-laptop kernel: [<02100491>] init+0x196/0x1f8 Sep 17 15:06:38 mef-work-laptop kernel: [<021002fb>] init+0x0/0x1f8 Sep 17 15:06:38 mef-work-laptop kernel: [<021035b9>] kernel_thread_helper+0x5/0xb


Marc



-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
ckrm-tech mailing list
https://lists.sourceforge.net/lists/listinfo/ckrm-tech




------------------------------------------------------- This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM. Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php _______________________________________________ ckrm-tech mailing list https://lists.sourceforge.net/lists/listinfo/ckrm-tech

Reply via email to