Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp2086968imm; Thu, 7 Jun 2018 05:20:35 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKn0BIsj4deL0avE5hoC0b9r2ghcp0UCF0Te+95vjHmekufkuCTbpf+dyVVIlnDIlWs7Yy6 X-Received: by 2002:a17:902:5a3:: with SMTP id f32-v6mr1833685plf.109.1528374035557; Thu, 07 Jun 2018 05:20:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528374035; cv=none; d=google.com; s=arc-20160816; b=Lhy6TmRxmhC8TH3edzzDZJdPa0AJqLCtjLujmjybSjDfgm6zjZF8mYYUWvk2GvhwXb yqALIQVbUU08C9FXL6dHFzDwpS77nSXXFzhTNW4kDrRw4lervXh7Lm8DwtPS1PWFIiIK qFQiUhvMTmPYC6DMK7s7ADmWHSBbalhoc72KBUmHy0w+E7QZWEfvjU/AQ+bwQzTuJkxk grY5mkoiSFwZ7UoQnAiHYXQ/liKu4I087ijpIK3UpkMN8wIwqpdNfxRb8JX8+MrQXWee ZcuitpKIdQ6cMTI58RBz9CksbKZ0dv5+kEg98tIgQNHISUUSVNqSSDemy0nlW2JdDfD6 rKxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=WqqyWuUA3Mgu1YWVBykfgFizZEsAPHFNjUwSsfj0zwo=; b=RiD6s8QPgXCo14q/Pt1Rifv0hcuLpbo00ObTPk5czap34ZONlwfofqJrHkHBglWoux 9X+2pxE8L4veiJVgHUmKzW7NuL/YJTH/L9tV8byn1bEqsRspvqQhDvBhsu7jiDHTvs4j TVrv658geu8/to7yhcBW1InAQ6d+H0QiuT6Vx67RZv2sqcD3EtXF5bO62TAq9F27NyGE Itmmgp4vUk3Q8s/ONmopdR6jtzHe8heUW2ewFgfgU+k5V+/LMbyMsHV99KDUVWwYRO0m OBNRMr5ErEQFsS9g4lNYXqi4/Fsn1Hj4kmoxL2CrZouTG6tsNX4vtf+AXrQ0ULVS/kxT 27xw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e1-v6si10220949pgr.318.2018.06.07.05.20.21; Thu, 07 Jun 2018 05:20:35 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753234AbeFGMJc (ORCPT + 99 others); Thu, 7 Jun 2018 08:09:32 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:55643 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753057AbeFGMJb (ORCPT ); Thu, 7 Jun 2018 08:09:31 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fQtjG-0002eh-J0; Thu, 07 Jun 2018 14:09:22 +0200 Date: Thu, 7 Jun 2018 14:09:17 +0200 (CEST) From: Thomas Gleixner To: Li RongQing cc: mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] x86/acpi: fix the comments in acpi_parse_lapic In-Reply-To: <1528371302-29270-1-git-send-email-lirongqing@baidu.com> Message-ID: References: <1528371302-29270-1-git-send-email-lirongqing@baidu.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 7 Jun 2018, Li RongQing wrote: > This should be permit to preallocate memory for all NR_CPUS No. The comment is correct. The whole magic is there to size num_possible_cpus correctly so that we can avoid allocating for NR_CPUS which is most of the time larger than num_possible_cpus. Thanks, tglx