From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751792AbbJBVAf (ORCPT ); Fri, 2 Oct 2015 17:00:35 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47225 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751266AbbJBVAe (ORCPT ); Fri, 2 Oct 2015 17:00:34 -0400 Date: Fri, 2 Oct 2015 14:00:33 -0700 From: Andrew Morton To: Alexey Dobriyan Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar Subject: Re: 4.2.2: NR_CPUS effectively being 1 bug Message-Id: <20151002140033.ef62cd83936263311eb210d8@linux-foundation.org> In-Reply-To: <20151002204658.GA1970@p183.telecom.by> References: <20151002204658.GA1970@p183.telecom.by> X-Mailer: Sylpheed 3.4.1 (GTK+ 2.24.23; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2 Oct 2015 23:46:59 +0300 Alexey Dobriyan wrote: > FYI, I've upgraded from 4.1.7 to 4.2.1 (and retested with 4.2.2) and > everything is scheduled on 1 CPU out of 4 (i5 760). > > $ sudo cat /proc/1/status | grep cpu -i > Cpus_allowed: 1 > Cpus_allowed_list: 0 > > Every process inherits this tiny cpumask. Sell the other CPUs on ebay? I haven't seen such a report before - maybe it rings a bell with Peter & Ingo? It should be pretty easy to debug. I'd guess that the problem is in the area of x86 SMP bringup and there might even be a nasty message in the dmesg explaining what went wrong? > # > # Automatically generated file; DO NOT EDIT. > # Linux/x86 4.2.2 Kernel Configuration > # > CONFIG_64BIT=y > ... >