From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757450Ab2IJLLV (ORCPT ); Mon, 10 Sep 2012 07:11:21 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:34091 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757076Ab2IJLLR (ORCPT ); Mon, 10 Sep 2012 07:11:17 -0400 Date: Mon, 10 Sep 2012 13:11:13 +0200 From: Pavel Machek To: David Rientjes Cc: sgruszka@redhat.com, linux-wireless@vger.kernel.org, johannes.berg@intel.com, wey-yi.w.guy@intel.com, ilw@linux.intel.com, Andrew Morton , Mel Gorman , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: iwl3945: order 5 allocation during ifconfig up; vm problem? Message-ID: <20120910111113.GA25159@elf.ucw.cz> References: <20120909213228.GA5538@elf.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun 2012-09-09 15:40:55, David Rientjes wrote: > On Sun, 9 Sep 2012, Pavel Machek wrote: > > > On 3.6.0-rc2+, I tried to turn on the wireless, but got > > > > root@amd:~# ifconfig wlan0 10.0.0.6 up > > SIOCSIFFLAGS: Cannot allocate memory > > SIOCSIFFLAGS: Cannot allocate memory > > root@amd:~# > > > > It looks like it uses "a bit too big" allocations to allocate > > firmware...? Order five allocation.... > > > > Hmm... then I did "echo 3 > /proc/sys/vm/drop_caches" and now the > > network works. Is it VM problem that it failed to allocate memory when > > it was freeable? > > > > Do you have CONFIG_COMPACTION enabled? Yes: pavel@amd:/data/l/linux-good$ zgrep CONFIG_COMPACTION /proc/config.gz CONFIG_COMPACTION=y Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html