Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp1071552lqb; Wed, 29 May 2024 22:02:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUqUZkkUEKVnODISwG9MzRfaRXUc1N+i/fcDLFxvPat2B3jEEWGHOjn+qqCUaUMpo7Y604ErLvMK/X0vjO/9Beu8Mi5dPxs63vtvz0OKw== X-Google-Smtp-Source: AGHT+IFJBvhzmTHbRk469nI9fLvDyJd0YkNXDKAajw0mAO/fgcPZe2B6B3CXIPJKwh+3m+gncDnm X-Received: by 2002:a17:90a:2e0e:b0:2c1:a557:fee5 with SMTP id 98e67ed59e1d1-2c1abc4d29dmr868549a91.47.1717045368127; Wed, 29 May 2024 22:02:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717045368; cv=pass; d=google.com; s=arc-20160816; b=RUW0PlkpO0mHJzVlPBzvYcRoskNUxeoFtV8/R/rxa7Xisl+QhhPSkPa5tLR0ZpozNr Vii95y9/7ijoIzHUFyZtTWMP2lR9PaayVTr28XdcGzDsCGO0ERj4GeTIZhGhMozcYTx9 a49aCL7hKLGOt8NTBdhDtZZsBnv04SoEHs66QkR1n5dZzexqSTC6OfsJ34rjOg88hVK3 92WJxNn2r9nAZp84y3CAFAEurbdBECuhzeFtJ6c9AOZyla4pLmiRdAXi7YrtP75jyiVL Enp4YJFW6R7IGIk7Le0V4LZzJNFJM+GOzgOPAbqIPRwZeliJBzn6CsnqxjC3r4Jifvuc JGnA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=dRdNEjxzIM5Rgcd8TIZIbz07ixws27VOZGX4oVc8Qwk=; fh=g1AYT/+yTPAKfLPARAS+6yhcKU4yCKaW/dpGu3k3HMI=; b=PccuO10T6/DbAqYGybuE4t+O435DnFijOMt1CxCMudmOWJrOzUgeDPYuI9xq+QrwEo isxSpMHZNgS5hWUDcUJW88iKklp8fJYrcOIWdj9zdpt1/6Imy2sQCXMpYBdKPq6HHwhM SN5XtcA1f0nOQAtW6vYAbfK7ybiS/28HPjuj+CppBXvtzuy9D5Va0dDJakSbHsg0LCI/ C3PcXKafxo3vKWI1RDns/qnzZjXQbEn+3gar3XTuW59KVNSR47Tclbva7jKvsrF2Jjhf XUjeuKlcWwRB6OwuCJxRzXuuUtOatcwkrg/fmHFFPD8K6Zh6Asmp+YbSwHGyHWvHy1Yj gnUQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eI4FrrA6; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-194940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194940-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2c1a779b78asi925649a91.141.2024.05.29.22.02.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 22:02:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eI4FrrA6; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-194940-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194940-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6BF52B21680 for ; Thu, 30 May 2024 05:01:37 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9EDBB14389C; Thu, 30 May 2024 05:01:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="eI4FrrA6" Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8258E634 for ; Thu, 30 May 2024 05:01:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.172 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717045290; cv=none; b=GIrw71qJrD6QyDhcFu9ZWc/psMm9jLg5nF0dWSc24g1rq22+aquxuJRXOKijfSz/11aJ3B42rOSuU5beD1oeJ76Ynu1987Wj9Ua/kmpjX10E1AxjKy0aAVnTYZkShPfYWA7Y/LUN9f+Sjdln04w06ZdiiT6A71wWUv2WKkFdGYE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717045290; c=relaxed/simple; bh=vRYRVj2yHwGKHI9c0vlZTFqbZmmt5CpYXco37xWR11U=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=VPb94w4pwhuE4OffrhwGUm48QwkpPfzd5J36jYo3rzY6t5oX0WOG8DAbSpaVdIy3QpPIMfNw6tGMRNfptbjITiAQac3vmhzJVZtCzdaDKuQnGGGn9+gWUG/VoSvjpDhB0WRprotXAEmoqfERAswWHIjDTpUZZJ3PrDh+R+iYI/Y= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=eI4FrrA6; arc=none smtp.client-ip=209.85.214.172 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-1f4a52b9413so4175585ad.2 for ; Wed, 29 May 2024 22:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1717045289; x=1717650089; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=dRdNEjxzIM5Rgcd8TIZIbz07ixws27VOZGX4oVc8Qwk=; b=eI4FrrA6ZBnZ4qSJNpM4PajYoOJIMH6VpW3dx5U948jnBCXmJ2jma96LZhpEPh72Cr RoqspLk6ooN0IHw+OMSKoS+u1sVWOUU8p9T+qJU42ju3CbP4wp2kFwL9KNLMeZIwsg0K lt6TrkpehXPGsGofTMzeK3LBq8JHsR+HKmFCM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717045289; x=1717650089; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=dRdNEjxzIM5Rgcd8TIZIbz07ixws27VOZGX4oVc8Qwk=; b=rssGiDKqyNbLncf20nWpnmoVCIYCyS2am1TBW/wBHT/Gq+Fesf/2j5qS6x81qQQ9J2 IgMDJmJAv6S8nNKC+eHrquetUhWSvOIMxr/jCEmIrSVPf0pythfI71iGwTB91MRef/S3 N2aUnlkdtldF7oLoMbeaoXfjGuF9UxhX1Ts0IB6LJJnRZrwYbSDmqs2T+pLxO1govk/e YWvAsgBIhRrJ014jUVowWeQb/ZyFSrhGXQgjm8vDgfhukRTcvvnJ+/EXiloWJcKon35q sHnSGSI3O6ZnnMEXPds4JrUtsQtKcNjR2kmqKDcIF7D29RbxAmzsGWRpUh3WY7MIH23S vnsg== X-Gm-Message-State: AOJu0YwHfQ4oFxwCORivmRtjBbQsWbGre3aNh5hKq4UeWbR6jC8vuK39 eqBZ8VKvKULlPDDg/gxkdGxesPiCmlHxKh/HqqgJ7uaob7PcQgyYJu/01p6iyg== X-Received: by 2002:a17:902:ecc6:b0:1f6:226f:cc42 with SMTP id d9443c01a7336-1f6226fd024mr1831595ad.43.1717045288628; Wed, 29 May 2024 22:01:28 -0700 (PDT) Received: from google.com ([2401:fa00:8f:203:52e7:354b:db96:c366]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1f44c97063asm108726795ad.150.2024.05.29.22.01.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 22:01:27 -0700 (PDT) Date: Thu, 30 May 2024 14:01:23 +0900 From: Sergey Senozhatsky To: David Hildenbrand Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Andrew Morton , "Matthew Wilcox (Oracle)" , Mike Rapoport , Minchan Kim , Sergey Senozhatsky , Hyeonggon Yoo <42.hyeyoo@gmail.com> Subject: Re: [PATCH v2 3/6] mm/zsmalloc: use a proper page type Message-ID: <20240530050123.GA8400@google.com> References: <20240529111904.2069608-1-david@redhat.com> <20240529111904.2069608-4-david@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240529111904.2069608-4-david@redhat.com> On (24/05/29 13:19), David Hildenbrand wrote: > We won't be able to support 256 KiB base pages, which is acceptable. [..] > +config HAVE_ZSMALLOC > + def_bool y > + depends on MMU > + depends on PAGE_SIZE_LESS_THAN_256KB # we want <= 64 KiB Can't really say that I'm happy with this, but if mm-folks are fine then okay. FWIW Reviewed-by: Sergey Senozhatsky