From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from he.sipsolutions.net ([78.46.109.217]:34468 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753983Ab2B2JAT (ORCPT ); Wed, 29 Feb 2012 04:00:19 -0500 Subject: Re: [PATCH -iwlwifi] iwlwifi: make tx_cmd_pool kmem cache global From: Johannes Berg To: Stanislaw Gruszka Cc: Wey-Yi Guy , Intel Linux Wireless , linux-wireless@vger.kernel.org In-Reply-To: <1330350725-5815-1-git-send-email-sgruszka@redhat.com> (sfid-20120227_145218_640279_81755758) References: <1330350725-5815-1-git-send-email-sgruszka@redhat.com> (sfid-20120227_145218_640279_81755758) Content-Type: text/plain; charset="UTF-8" Date: Wed, 29 Feb 2012 10:00:13 +0100 Message-ID: <1330506013.4714.3.camel@jlt3.sipsolutions.net> (sfid-20120229_100024_953976_AAD133BB) Mime-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org List-ID: On Mon, 2012-02-27 at 14:52 +0100, Stanislaw Gruszka wrote: > Otherwise we are not able to run more than one device per driver: > > [ 24.743045] kmem_cache_create: duplicate cache iwl_dev_cmd > [ 24.743051] Pid: 3165, comm: NetworkManager Not tainted 3.3.0-rc2-wl+ #5 > [ 24.743054] Call Trace: > [ 24.743066] [] kmem_cache_create+0x655/0x700 > [ 24.743073] [] ? destroy_timer_on_stack+0x15/0x20 > [ 24.743079] [] ? schedule_timeout+0x1dd/0x330 > [ 24.743083] [] ? lock_timer_base+0x70/0x70 > [ 24.743101] [] iwl_alive_notify+0x1cb/0x1f0 [iwlwifi] > [ 24.743111] [] iwl_load_ucode_wait_alive+0x1b2/0x220 [iwlwifi] > [ 24.743118] [] ? trace_hardirqs_on+0xd/0x10 > [ 24.743127] [] ? iwlagn_mac_setup_register+0x2e0/0x2e0 [iwlwifi] > [ 24.743133] [] ? _raw_spin_unlock_bh+0x34/0x40 > [ 24.743142] [] iwl_run_init_ucode+0x73/0x100 [iwlwifi] > [ 24.743152] [] __iwl_up+0x81/0x220 [iwlwifi] > [ 24.743161] [] iwlagn_mac_start+0x80/0x190 [iwlwifi] > [ 24.743188] [] ieee80211_do_open+0x293/0x770 [mac80211] I'll pick this up. johannes