Message ID | 20211011143150.318239-6-sxwjean@me.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <SRS0=SV65=O7=kvack.org=owner-linux-mm@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B6667C433EF for <linux-mm@archiver.kernel.org>; Mon, 11 Oct 2021 14:34:47 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 73D1C60EB6 for <linux-mm@archiver.kernel.org>; Mon, 11 Oct 2021 14:34:47 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 73D1C60EB6 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=me.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=kvack.org Received: by kanga.kvack.org (Postfix) id C0D67900003; Mon, 11 Oct 2021 10:34:46 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id BBCC3900002; Mon, 11 Oct 2021 10:34:46 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id AD2EA900003; Mon, 11 Oct 2021 10:34:46 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 9F81B900002 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 10:34:46 -0400 (EDT) Received: from smtpin16.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id 698F918097A66 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 14:34:46 +0000 (UTC) X-FDA: 78684402972.16.A9464A8 Received: from pv50p00im-ztdg10021201.me.com (pv50p00im-ztdg10021201.me.com [17.58.6.45]) by imf18.hostedemail.com (Postfix) with ESMTP id 084064001884 for <linux-mm@kvack.org>; Mon, 11 Oct 2021 14:34:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1633962884; bh=zndHJQMckuIsuSAxefaz/RuLzDT/zZs8QBH0iDHV99s=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=rzkYzsShBt1lpFWKMBxjeKqME+bJ0Ypsf4nH2nS0EJRfT8JdWrNqhG37h5243qrXV zIf1RWwCAwtGyYM9IdyL+5cxX7baJw99pYkHTMOnRN2XKvnltd2lWTscgKRZSXeHbD 6QFxW/+EcmJgw2Q7ApCkpSVQeV3RoirSDgpYuTezm3QsyZgj4bbmSskgwSilvIf60U tDaFYT5Gj54Z3SDvlkdLiBqzPn8SHnKxCbVoF66YKPCZzIEla2kUbId7YkQqu33eXy q7ptHrxtYiqXvpxY8GZgiOkveoZXdAEf0Q3RHsg76iYOe3F1xTd3p20Om5C07uTk/6 viQgZmwky7tLg== Received: from xiongwei.. (unknown [120.245.2.114]) by pv50p00im-ztdg10021201.me.com (Postfix) with ESMTPSA id 0A887A4058C; Mon, 11 Oct 2021 14:34:35 +0000 (UTC) From: sxwjean@me.com To: linux-mm@kvack.org, x86@kernel.org Cc: Xiongwei Song <sxwjean@gmail.com>, Thomas Gleixner <tglx@linutronix.de>, Ingo Molnar <mingo@redhat.com>, Borislav Petkov <bp@alien8.de>, Kees Cook <keescook@chromium.org>, "H. Peter Anvin" <hpa@zytor.com>, Dave Hansen <dave.hansen@linux.intel.com>, Andy Lutomirski <luto@kernel.org>, Peter Zijlstra <peterz@infradead.org>, Andrew Morton <akpm@linux-foundation.org>, Arnd Bergmann <arnd@arndb.de>, Al Viro <viro@zeniv.linux.org.uk>, Gabriel Krisman Bertazi <krisman@collabora.com>, Lai Jiangshan <laijs@linux.alibaba.com>, Huang Rui <ray.huang@amd.com>, Yazen Ghannam <yazen.ghannam@amd.com>, Kim Phillips <kim.phillips@amd.com>, Oleg Nesterov <oleg@redhat.com>, Balbir Singh <sblbir@amazon.com>, "David S. Miller" <davem@davemloft.net>, sxwjean@me.com, linux-kernel@vger.kernel.org Subject: [PATCH v2 5/6] x86/mm: Discard the defination of HAVE_ARCH_PICK_MMAP_LAYOUT Date: Mon, 11 Oct 2021 22:31:49 +0800 Message-Id: <20211011143150.318239-6-sxwjean@me.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20211011143150.318239-1-sxwjean@me.com> References: <20211011143150.318239-1-sxwjean@me.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.425,18.0.790 definitions=2021-10-11_05:2021-10-07,2021-10-11 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 mlxscore=0 mlxlogscore=753 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2009150000 definitions=main-2110110085 X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: 084064001884 X-Stat-Signature: dqf8uoo3krcnxgjjhfhog4c1jhk3uhng Authentication-Results: imf18.hostedemail.com; dkim=pass header.d=me.com header.s=1a1hai header.b=rzkYzsSh; dmarc=pass (policy=quarantine) header.from=me.com; spf=pass (imf18.hostedemail.com: domain of sxwjean@me.com designates 17.58.6.45 as permitted sender) smtp.mailfrom=sxwjean@me.com X-HE-Tag: 1633962885-932318 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
Use generic code for randomization of virtual address of x86
|
expand
|
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h index fb7a4f21d412..2360366ad328 100644 --- a/arch/x86/include/asm/processor.h +++ b/arch/x86/include/asm/processor.h @@ -709,7 +709,6 @@ extern int bootloader_version; extern char ignore_fpu_irq; -#define HAVE_ARCH_PICK_MMAP_LAYOUT 1 #define ARCH_HAS_PREFETCHW #define ARCH_HAS_SPINLOCK_PREFETCH