From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pekka Enberg Subject: Re: [Bug #13319] Page allocation failures with b43 and p54usb Date: Mon, 8 Jun 2009 13:52:05 +0300 Message-ID: <84144f020906080352k57f12ff9pbd696da5f332ac1a@mail.gmail.com> References: <4A2BBC30.2030300@lwfinger.net> <84144f020906070640rf5ab14nbf66d3ca7c97675f@mail.gmail.com> <4A2BCC6F.8090004@redhat.com> <84144f020906070732l31786156r5d9753a0cabfde79@mail.gmail.com> <20090608101739.GA15377@csn.ul.ie> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:date:x-google-sender-auth:message-id:subject:from:to:cc :content-type:content-transfer-encoding; bh=2UdA8b0GspSyMnpVuECxeRHl0YqQ9ncxtv+TK1cRvgM=; b=VA38v4uCsrvmAXrm7DVeTbThmqpaQeEaEsBLGL/qCOKNiX2OB0w7DR/lqeZGQjW6bM 3lhEh8NDGiyRgItObfc3b7icKuz9RH07tk2SW+wkVucJWxgz2VEjoWhor69yHcr5z0gJ En0/dbnBdE8FAr44e4pItCTHlng7knLOk9pfU= In-Reply-To: <20090608101739.GA15377-wPRd99KPJ+uzQB+pC5nmwQ@public.gmane.org> Sender: kernel-testers-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Content-Type: text/plain; charset="us-ascii" To: Mel Gorman Cc: Rik van Riel , Larry Finger , "Rafael J. Wysocki" , Linux Kernel Mailing List , Kernel Testers List , Johannes Berg , Andrew Morton , KOSAKI Motohiro , KAMEZAWA Hiroyuki , Christoph Lameter On Mon, Jun 8, 2009 at 1:17 PM, Mel Gorman wrote: > Pekka, assuming the request size is 800 bytes, and SLUB is using order-1 > pages for allocations of that size, what happened order-1 allocations > falling back to order-0 allocations as necessary. That logic exists, > right? If so, could it be broken? That logic is in allocate_slab() and if the higher order allocation fails, we fall-back to struct kmem_cache ->min order. That in turn is set up in calculate_sizes() to get_order(size) so it seems pretty unlikely to me the allocation is 800 bytes. Of course, I could be missing something here and there's a bug in oo_make() or oo_order(). Hmm. Pekka