Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2797124ybz; Sun, 19 Apr 2020 09:50:51 -0700 (PDT) X-Google-Smtp-Source: APiQypJJ/DB4Z4eUf4gWEEQLCscb1UZmOeHbK9xqEeCzpvMpIvHtuAQcPBQkxTeqHuXjV+QepUWz X-Received: by 2002:a17:906:da1b:: with SMTP id fi27mr12259874ejb.194.1587315051162; Sun, 19 Apr 2020 09:50:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587315051; cv=none; d=google.com; s=arc-20160816; b=09HV5A34Aw36xKgPrPxIVaXwHSoZO/DxI5t/0uFasuvmv2RYRIFhcvuYsmvPRKqQe6 zdR3hGR6S/QBVDaUSMmyKE+WQWbbpdD1Q+ILU0v2p1cKRckC48K+L8hkxhaxy1e9uUtR 1a/k+hZatTp+xqKCwAoJv7k2MRYTA5IZo6oPM6XywrcNbDbRPcP5mUhlHavxEWV0CDwy wEeXMs//mPh5QCL1A46W7wualMxVkTmkZ9x0LUoNbr3G1yWO/oaZZM4qyLwAPDhcYeGM lF7ECon5Ka3dIA4EwAqd8S4JBK/nCpnpYYqodtiXQ/r75HXlwSx5VWnPU+ONK5aGlNJF KO7g== 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; bh=5my6TPzm+AjmRqdI0hSYSzxxiL60hHiicPWq5bayavc=; b=OP23W7rANmGmSiSilSqzRc/McX+XJNZToU3D9FctbOhvwKRhhcD4UcFS9kZCQ9R44d lVHR6xwSgiNdS27HRzkUdc1YeWtGTLIt0gMsh1rMVY/oh1BF+kEjQhbxrP+EnEwm9ySc 1JN2PysRBcyRnFdK86RG9/APM+BKs2aEZq5o0k4KkZUgjA8taePgejdTOc3B9OxjhKC6 2VflDM7aBRLxXJOmQB8EUZWAFp+qstJcnbdsoVRcx/0ZyTGuz8JG4d643t2nifLVtwR4 e/EO8KKlP2FIp2BadWI+EjpHNHl97GKaaO8puPHn0/tVFgfShD2lVO0G42omRQtAuRq8 ZmDw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k10si10625666ejx.275.2020.04.19.09.50.28; Sun, 19 Apr 2020 09:50:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726724AbgDSQm4 (ORCPT + 99 others); Sun, 19 Apr 2020 12:42:56 -0400 Received: from gentwo.org ([3.19.106.255]:34976 "EHLO gentwo.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725793AbgDSQm4 (ORCPT ); Sun, 19 Apr 2020 12:42:56 -0400 Received: by gentwo.org (Postfix, from userid 1002) id 3D7793F57C; Sun, 19 Apr 2020 16:42:55 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by gentwo.org (Postfix) with ESMTP id 3C2E83E96E; Sun, 19 Apr 2020 16:42:55 +0000 (UTC) Date: Sun, 19 Apr 2020 16:42:55 +0000 (UTC) From: Christopher Lameter X-X-Sender: cl@www.lameter.com To: =?GB2312?B?1dS+/L/8?= cc: Pekka Enberg , David Rientjes , Joonsoo Kim , Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, kernel@vivo.com Subject: Re:Re: [PATCH] kmalloc_index optimization(add kmalloc max size check) In-Reply-To: Message-ID: References: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="531401748-1815511817-1587314575=:14792" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --531401748-1815511817-1587314575=:14792 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Sat, 18 Apr 2020, 赵军奎 wrote: > Sorry for the misunderstanding. What misunderstanding? > But the current code is not, kmalloc_index will only be BUG() when it exceeds 64M. Yes that is what you may want to fix as I said. --531401748-1815511817-1587314575=:14792--