Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1762229imm; Thu, 2 Aug 2018 00:07:05 -0700 (PDT) X-Google-Smtp-Source: AAOMgpebveWTqfaR9o3Z3DDdl/FV1nwDskOLvw+zCOAJVSZIDX61cag8Vm6SoET2zJ0Y28Y1hJeC X-Received: by 2002:a63:571d:: with SMTP id l29-v6mr1496549pgb.296.1533193624971; Thu, 02 Aug 2018 00:07:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533193624; cv=none; d=google.com; s=arc-20160816; b=jqIOamkdjouR5zxHNgqsB9pul73wvf5/kVAOqb/taGujgEvJcjUFm2TXfIpWvKaxth +BSqeH4HdRIuCZ32TeXKBrvTmO3hq66Jj9Be/crNz7ZyXVnnXBFd04n/rEO08m5XMbWc vRRbmumoEx1p+tdJp1Kc5xP2NBQRgTWB/sVq/KHeIOrpOmpbsTKX56a6O8cMPTZlWgLv AK7DREaIlcXrs5MXcvKS8Jmy1mBlGvu7PzFsB3E8nVCb+xzgacDvW0yykfYVGLQtKpvT ZAp7W9kEFekGSKqIHyTpiMr2egkCf4jkLZHSJD3nTw6WLuzQFyuiTCTgE2LDzAplDoBo Fwyg== 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=N7W2Nk0RyvRGVPln/BYNPR8IviZZjFUZ4e8tUOD/rsc=; b=wBKpZisM3uPuIFpFa33kpnsS0ziXEbGRI/7jXXEWCTpBVpZDUkXM5UTJdbc4rKXnCz x6Z9z5oxoYxr7PaIVR9KuFMlYqo+f5e3lIzulaxZtGIazGdsnaRuYKu+bhpb0vcaaveV TV2dbucR9gw4Y3ZjxKqkCY8PGT+TxSDyKHoNxgGTfK7JkgJ/M0Ag06uT6F4og2lp5qp+ 4CQggbXhQctw32ZUGIl7OV6kN1j0FCb5NKrGro1/XxM4CTAj9RwzBloyai2biJX0mIV9 O1hEa3l0AQyxMD7s7GomLpi1DZ02a4XOnTZ1CCh+p6Oas1+zNr+XlcdzD1dyxmf6scAf WBiA== 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 15-v6si1315966pgu.205.2018.08.02.00.06.50; Thu, 02 Aug 2018 00:07:04 -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 S1727278AbeHBIzC (ORCPT + 99 others); Thu, 2 Aug 2018 04:55:02 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:35742 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726141AbeHBIzC (ORCPT ); Thu, 2 Aug 2018 04:55:02 -0400 Received: from p4fea5a5a.dip0.t-ipconnect.de ([79.234.90.90] helo=nanos) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fl7fd-0000Fb-E2; Thu, 02 Aug 2018 09:05:13 +0200 Date: Thu, 2 Aug 2018 09:05:12 +0200 (CEST) From: Thomas Gleixner To: Chao Fan cc: Dou Liyang , linux-kernel@vger.kernel.org, x86@kernel.org, hpa@zytor.com, mingo@redhat.com, bhe@redhat.com, keescook@chromium.org, yasu.isimatu@gmail.com, indou.takao@jp.fujitsu.com, caoj.fnst@cn.fujitsu.com Subject: Re: [PATCH v4 3/4] x86/boot/KASLR: Walk srat tables to filter immovable memory In-Reply-To: <20180802035413.GC6723@localhost.localdomain> Message-ID: References: <20180723092908.32656-1-fanc.fnst@cn.fujitsu.com> <20180723092908.32656-4-fanc.fnst@cn.fujitsu.com> <18d27595-43d8-d2a0-bfdf-bd731b77d1b9@cn.fujitsu.com> <20180802035413.GC6723@localhost.localdomain> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Linutronix-Spam-Score: -1.0 X-Linutronix-Spam-Level: - X-Linutronix-Spam-Status: No , -1.0 points, 5.0 required, ALL_TRUSTED=-1,SHORTCIRCUIT=-0.0001 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2 Aug 2018, Chao Fan wrote: > On Thu, Aug 02, 2018 at 11:47:13AM +0800, Dou Liyang wrote: Removed 70 lines of complete useless information.... > >> + table = (struct acpi_subtable_header *) > >> + ((unsigned long)table_header + sizeof(struct acpi_table_srat)); > >> + > >> + table_size = sizeof(struct acpi_subtable_header); > > > >table_size isn't used, can be remove. > > > > Thank you very much, will update in next version. And yet another 40 lines. > Folks. Can you please both stop this annoying habit of keeping the full context of the mail and then sprinkling a random sentence into the middle? Thanks, tglx