[openib-general] checkstack warnings

Michael S. Tsirkin mst at mellanox.co.il
Mon Dec 26 23:55:40 PST 2005


Hi!
Running make checkstack on the openib tree generates quite a long
list of stack hogs (below).
Do we want to clean the code with respect to these warnings?

drivers/infiniband/ulp/ipoib/ib_ipoib.ko
0x00000e57 ipoib_start_xmit:                            232
0x000018c9 ipoib_start_xmit:                            232
0x00002629 ipoib_ib_dev_stop:                           200
0x000029a6 ipoib_ib_dev_stop:                           200
0x00004640 ipoib_mcast_send:                            184
0x00004b48 ipoib_mcast_send:                            184
0x00005b10 ipoib_init_qp:                               184
0x00005caa ipoib_init_qp:                               184
0x00005000 ipoib_mcast_join:                            136
0x000051df ipoib_mcast_join:                            136
0x00000a13 path_rec_completion:                         120
0x00000cea path_rec_completion:                         120
0x00002360 ipoib_ib_post_receive:                       120
0x0000250b ipoib_ib_post_receive:                       120
0x00003a80 ipoib_mcast_leave:                           120
0x00003bb2 ipoib_mcast_leave:                           120
0x00002bc0 ipoib_send:                                  104
0x00002e7e ipoib_send:                                  104
0x00003244 ipoib_ib_completion:                         104
0x000037f9 ipoib_ib_completion:                         104
drivers/infiniband/ulp/sdp/ib_sdp.ko
0x000091bd sdp_inet_send:                               312
0x00009df7 sdp_inet_send:                               312
0x0000afa5 sdp_inet_recv:                               296
0x0000bcc6 sdp_inet_recv:                               296
0x00005b08 sdp_proc_dump_conn_data:                     248
0x00005d76 sdp_proc_dump_conn_data:                     248
0x0000a84f sdp_recv_flush:                              248
0x0000af7e sdp_recv_flush:                              248
0x00005da5 sdp_proc_dump_conn_main:                     232
0x00006016 sdp_proc_dump_conn_main:                     232
0x0000ddc0 do_link_path_lookup:                         232
0x0000e1a4 do_link_path_lookup:                         232
0x000058c0 sdp_proc_dump_conn_rdma:                     200
0x00005ae7 sdp_proc_dump_conn_rdma:                     200
0x00003320 sdp_inet_connect:                            184
0x00003840 sdp_inet_connect:                            184
0x00007d90 sdp_send_data_queue_test:                    184
0x000087e0 sdp_send_data_queue_test:                    184
0x00003ad0 sdp_inet_release:                            168
0x00003e5f sdp_inet_release:                            168
0x0000cec0 sdp_cm_path_complete:                        152
0x0000d2e2 sdp_cm_path_complete:                        152
0x00002eaf sdp_inet_accept:                             136
0x000032fd sdp_inet_accept:                             136
0x00005700 sdp_proc_dump_conn_sopt:                     136
0x000058aa sdp_proc_dump_conn_sopt:                     136
0x00006e88 sdp_conn_internal_lock:                      104
0x00006f4d sdp_conn_internal_lock:                      104
0x0000c35d sdp_cm_req_handler:                          104
0x0000cba5 sdp_cm_req_handler:                          104
drivers/infiniband/ulp/srp/ib_srp.ko
0x00001a26 srp_create_target:                           200
0x000020ce srp_create_target:                           200
0x000016d7 srp_reconnect_target:                        192
0x0000192f srp_reconnect_target:                        192
0x000003b7 __srp_post_send:                             112
0x0000045e __srp_post_send:                             112
drivers/infiniband/core/ib_cm.ko
0x0000123d ib_cm_listen:                                168
0x000014a6 ib_cm_listen:                                168
0x000030ee ib_destroy_cm_id:                            144
0x00003397 ib_destroy_cm_id:                            144
0x000034a0 cm_send_handler:                             136
0x000035f9 cm_send_handler:                             136
0x00001ca0 ib_send_cm_apr:                              104
0x00001e46 ib_send_cm_apr:                              104
drivers/infiniband/core/ib_core.ko
0x00001372 show_sys_image_guid:                         176
0x000013f4 show_sys_image_guid:                         176
0x00001412 show_node_guid:                              176
0x00001494 show_node_guid:                              176
0x00002d30 ib_flush_fmr_pool:                           136
0x00002e39 ib_flush_fmr_pool:                           136
0x00001950 add_port:                                    104
0x00001b70 add_port:                                    104
drivers/infiniband/core/ib_mad.ko
0x00003200 ib_register_mad_agent:                       184
0x00003b8a ib_register_mad_agent:                       184
0x0000297d ib_unregister_mad_agent:                     168
0x00002f05 ib_unregister_mad_agent:                     168
0x00001bb2 ib_mad_completion_handler:                   136
0x00002149 ib_mad_completion_handler:                   136
0x0000216d ib_post_send_mad:                            136
0x00002621 ib_post_send_mad:                            136
0x00000620 create_mad_qp:                               104
0x000006f4 create_mad_qp:                               104
0x000010f4 local_completions:                           104
0x00001305 local_completions:                           104
drivers/infiniband/core/ib_sa.ko
0x0c60 ib_sa_service_rec_callback:                      200
0x0cd4 ib_sa_service_rec_callback:                      200
0x0130 update_sm_ah:                                    120
0x0256 update_sm_ah:                                    120
drivers/infiniband/core/ib_uat.ko
0x00000d10 ib_uat_paths_by_route:                       184
0x00000f59 ib_uat_paths_by_route:                       184
0x000009a0 ib_uat_ips_by_gid:                           136
0x00000bc5 ib_uat_ips_by_gid:                           136
0x000003b0 ib_uat_event:                                112
0x000006ff ib_uat_event:                                112
0x00000f70 ib_uat_route_by_ip:                          104
0x00001177 ib_uat_route_by_ip:                          104
drivers/infiniband/core/ib_umad.ko
0x00000c30 ib_umad_ioctl:                               136
0x00000e81 ib_umad_ioctl:                               136
0x00000e90 ib_umad_write:                               136
0x0000119c ib_umad_write:                               136
0x000011c1 ib_umad_read:                                136
0x000013c3 ib_umad_read:                                136
drivers/infiniband/core/ib_uverbs.ko
0x00004431 ib_uverbs_query_device:                      368
0x000046b0 ib_uverbs_query_device:                      368
0x00002ed0 ib_uverbs_create_qp:                         280
0x0000335e ib_uverbs_create_qp:                         280
0x00002060 ib_uverbs_create_srq:                        168
0x0000233d ib_uverbs_create_srq:                        168
0x00002aa0 ib_uverbs_create_ah:                         168
0x00002d2c ib_uverbs_create_ah:                         168
0x00003370 ib_uverbs_modify_qp:                         168
0x0000360f ib_uverbs_modify_qp:                         168
0x00003c30 ib_uverbs_reg_mr:                            168
0x00003f7f ib_uverbs_reg_mr:                            168
0x00000eda ib_uverbs_event_read:                        136
0x000010cd ib_uverbs_event_read:                        136
0x000046c0 ib_uverbs_get_context:                       136
0x00004923 ib_uverbs_get_context:                       136
0x000042e1 ib_uverbs_query_port:                        112
0x00004410 ib_uverbs_query_port:                        112
0x000018c0 ib_uverbs_unmarshall_recv:                   104
0x00001ac7 ib_uverbs_unmarshall_recv:                   104
0x00002350 ib_uverbs_post_srq_recv:                     104
0x000024c7 ib_uverbs_post_srq_recv:                     104
0x000024d0 ib_uverbs_post_recv:                         104
0x00002647 ib_uverbs_post_recv:                         104
drivers/infiniband/core/ib_at.ko
0x000010f0 ib_dev_ats_op:                               296
0x00001260 ib_dev_ats_op:                               296
0x00001548 resolve_ats_ips:                             216
0x0000160a resolve_ats_ips:                             216
0x00001758 resolve_ats_route:                           216
0x00001819 resolve_ats_route:                           216
0x000012f0 ib_at_ats_reg:                               200
0x0000152e ib_at_ats_reg:                               200
0x00001900 resolve_ip:                                  152
0x00001c25 resolve_ip:                                  152
0x000021d0 ib_at_route_by_ip:                           104
0x000023ca ib_at_route_by_ip:                           104
drivers/infiniband/core/ib_ucm.ko
0x000006a0 ib_ucm_init_qp_attr:                         344
0x000007b6 ib_ucm_init_qp_attr:                         344
0x00000a93 ib_ucm_destroy_id:                           136
0x00000c30 ib_ucm_destroy_id:                           136
0x000010b0 ib_ucm_path_get:                             104
0x00001145 ib_ucm_path_get:                             104
0x000013a0 ib_ucm_send_rep:                             104
0x000014b2 ib_ucm_send_rep:                             104
drivers/infiniband/core/ib_addr.ko
0x05d0 ib_resolve_addr:                                 184
0x08a3 ib_resolve_addr:                                 184
0x0040 addr_resolve_remote:                             152
0x01c5 addr_resolve_remote:                             152
drivers/infiniband/core/rdma_cm.ko
0x00001430 cma_modify_qp_rtr:                           184
0x000014c1 cma_modify_qp_rtr:                           184
0x000014d0 cma_modify_qp_rts:                           184
0x00001531 cma_modify_qp_rts:                           184
0x00001890 rdma_create_qp:                              168
0x00001998 rdma_create_qp:                              168
0x00000b60 cma_modify_qp_err:                           152
0x00000b86 cma_modify_qp_err:                           152
0x00000691 cma_remove_one:                              136
0x00000999 cma_remove_one:                              136
0x000012a0 rdma_resolve_route:                          120
0x000013c3 rdma_resolve_route:                          120
0x00000c90 rdma_connect:                                104
0x00000efb rdma_connect:                                104
drivers/infiniband/core/rdma_ucm.ko
0x00000900 ucma_init_qp_attr:                           344
0x00000a16 ucma_init_qp_attr:                           344
0x00000b20 ucma_accept:                                 344
0x00000bd9 ucma_accept:                                 344
0x00000c60 ucma_connect:                                344
0x00000d0d ucma_connect:                                344
0x00000a80 ucma_reject:                                 296
0x00000b0f ucma_reject:                                 296
0x00000e60 ucma_query_route:                            264
0x00001067 ucma_query_route:                            264
0x00000713 ucma_destroy_id:                             136
0x000008b0 ucma_destroy_id:                             136
0x00000480 ucma_get_event:                              112
0x0000066f ucma_get_event:                              112
drivers/infiniband/hw/mthca/ib_mthca.ko
0x000007e0 mthca_init_one:                              1048
0x0000200d mthca_init_one:                              1048
0x00009d80 mthca_process_mad:                           184
0x0000a178 mthca_process_mad:                           184
0x000079a0 mthca_free_qp:                               136
0x00007bb3 mthca_free_qp:                               136
0x00008473 mthca_modify_qp:                             136
0x00008f76 mthca_modify_qp:                             136
0x0000b500 mthca_create_qp:                             136
0x0000b7a9 mthca_create_qp:                             136
0x0000c150 mthca_modify_port:                           136
0x0000c232 mthca_modify_port:                           136
0x000095d0 mthca_multicast_detach:                      120
0x00009878 mthca_multicast_detach:                      120
0x0000ae60 mthca_reg_phys_mr:                           120
0x0000b1a1 mthca_reg_phys_mr:                           120
0x0000cba0 mthca_map_user_db:                           120
0x0000cdf2 mthca_map_user_db:                           120
0x00004473 mthca_free_cq:                               112
0x000046b0 mthca_free_cq:                               112
0x0000de23 mthca_free_srq:                              112
0x0000e02e mthca_free_srq:                              112
0x00001225 mthca_map_cmd:                               104
0x000014b1 mthca_map_cmd:                               104
0x0000337a mthca_buf_alloc:                             104
0x0000367d mthca_buf_alloc:                             104
0x00004b4f mthca_poll_cq:                               104
0x000051ab mthca_poll_cq:                               104
0x0000a6a0 mthca_query_gid:                             104
0x0000a851 mthca_query_gid:                             104
0x000020f6 mthca_create_eq:                             104
0x00002550 mthca_create_eq:                             104

-- 
MST



More information about the general mailing list