Message ID | 20240301230619.661008-32-richard.henderson@linaro.org |
---|---|
State | Accepted |
Commit | 80c3aeef7f31e2bbac621521e72434e87fd0e64f |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:adf:e94d:0:b0:33d:f458:43ce with SMTP id m13csp1603344wrn; Fri, 1 Mar 2024 15:15:13 -0800 (PST) X-Forwarded-Encrypted: i=2; AJvYcCVpd8OoVWieyh2BInk6MqhRAvRIAWwbH3EiPeSm3mSXJiJKBsxPcrhhL2iQ4BbzPaWfV+p9V85I+MVW3rCQ7Qnh X-Google-Smtp-Source: AGHT+IHQ3A723hGXDoGQWvhKHTTX3BhddZ7oOE1LdMmSPyge35LWOSjBfSeAm30DeOxGJfAr/NI/ X-Received: by 2002:ac8:5a52:0:b0:42e:c28e:ccba with SMTP id o18-20020ac85a52000000b0042ec28eccbamr3411247qta.47.1709334913219; Fri, 01 Mar 2024 15:15:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1709334913; cv=none; d=google.com; s=arc-20160816; b=DqyIzFkAKhZlJ8rKiqpJEHqi1wSyzIRMLy9JZwX5JkKZ+B6fgSMgIaUJhup3z2L3Gk qnJWWV2gzpcXkJMglATBpDSRAKkrujXZ6uw/vd0SHAeiXCegSdbjg/2XFWLuCo863mQY kZ0hHKUKhnCxmgi2znKYRO6Kwq+keT6X6BzDj0iKzN61n13RRbVQWlEGX09OsiOlYa3y 4WUI/EKjaWbsVyGOlloaKlzYCxsKBG4JUkyYxCrUIZXjnUVNyfv9OwNpemanhBwfxYLA 09EhFSoUNSXJ7PaRgZbDJQB1Y1Y/1A11AzmN2LehLdzrQlyDo/VKo1dC2pJNUnG9xFBh 4S5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=Utr6CY7GZcNfj8e7YUB3Ing2Y6m3UnMyzHBBd5nSQRo=; fh=H/IsS+LNYM6dBDHt5BZPsM5V9tnyjdUlJ92VVuTs62g=; b=C3owfoZiPE2A/kZCt1PzGR1Tal69XAQ7K93baM2oZef4WLsSVylCDkcI0G0Y1IE9ey ZDqCd6DQ3OaBCRQ8pSdGpK4Cn/dsRaGfwUB46uwcq+WwAmSlkuDMHY0CCqqmEWP+yKty v9rPmsldqCeW+UjY8kOn6j/Bhh3qxLsTAe7rnFo4kvtiGtlGGr0fhmNpiPJZ/bTynuYN lmNSKKg9arMXu3pU3t9MraNO4UYE168GeiQ7EFX/0DHnnWRU2ZsQwkym/0WaZLx/lkE8 8GxGlad2tmwaZy99MyH/VUJE0RYdlaUmeoG3hnAwqEzqA0axOLtObN8Q0MXAkdUoUGEc Zz0g==; dara=google.com ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lWQYCvev; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: <qemu-devel-bounces+patch=linaro.org@nongnu.org> Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id h7-20020ac846c7000000b0042e50c47cafsi4277268qto.47.2024.03.01.15.15.13 for <patch@linaro.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Fri, 01 Mar 2024 15:15:13 -0800 (PST) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=lWQYCvev; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <qemu-devel-bounces@nongnu.org>) id 1rgByU-00068P-GF; Fri, 01 Mar 2024 18:07:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1rgByE-0005cz-E2 for qemu-devel@nongnu.org; Fri, 01 Mar 2024 18:07:14 -0500 Received: from mail-pl1-x636.google.com ([2607:f8b0:4864:20::636]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <richard.henderson@linaro.org>) id 1rgBy7-0004KT-K7 for qemu-devel@nongnu.org; Fri, 01 Mar 2024 18:07:14 -0500 Received: by mail-pl1-x636.google.com with SMTP id d9443c01a7336-1dc49b00bdbso27275035ad.3 for <qemu-devel@nongnu.org>; Fri, 01 Mar 2024 15:07:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709334426; x=1709939226; darn=nongnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=Utr6CY7GZcNfj8e7YUB3Ing2Y6m3UnMyzHBBd5nSQRo=; b=lWQYCvevQOkfEFQjadXLdX9jIO4yXAwVkrHtd1OaNxQV4Z68AtEUcxNqJWN+1i+d27 vx6swDWuUOdVuf9UapdTPzBEYdQ+M8AC3GLihcwpwibJeIdyhkcJZZwSAZ0KXHZKnkpf s3ji/LNRUaERcV4FYA5NZAJFIYlpA5BqGNicdcidzYiQrDAKLUwfrb62Ln3Vc5TMhVrQ RFV+saBk3r+TjInxQjit+s5WQWijoj6vB0PIbBEJyvV85oIc6/iHiH21mqVV8oQYEMSD 82izZh22Dx7yF00fYWhkbcZkm6r0kEhrcs3+aDdO9RXhndc0YyRDoaSuRZwkGkfRncHn STpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709334426; x=1709939226; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Utr6CY7GZcNfj8e7YUB3Ing2Y6m3UnMyzHBBd5nSQRo=; b=ri6h0uEHqKDRXimBFxfHTBSkiFIsQ5+olcQTfS9uai6zmdca2OsxSGA5bdCMgRM9O7 I6Yxln+7eU/Us8XvpPHWCD/ozgNDfdm8yKtVuhv2m0MHmGjpO47gvLXN31kHhyVjQI2a gx7Gs9hT0aheVk1AOoApoVWCkZ5mMffd9+i2xrVwMD42Ha7CBfiAokBIgVJOAI+y8Kq4 npIZp8zbTVmWHSNrc6DwKeSeE0T0PD5slCBZitPmirEov4x1rt70ocCMGEyI02KyjlXb RAu6q60DrGphkpnOKeYNVUIsytDOt1yxGKKNrxErizjdIekHY/5pbUlIIiLI3S8KQkVG FiGw== X-Gm-Message-State: AOJu0Yz7SaCIOqdZF825GS14hZrlLoRxYgFqdp8FeiEtteCpVjIl4vCX fCTqnqhpDliaITbWlrqSp4La34A1UEf44WAKzPf6Z3fId+iVYbnQFs3VeWBm7gz2M7rn4FHNFS+ k X-Received: by 2002:a17:902:c952:b0:1dc:a84b:e93b with SMTP id i18-20020a170902c95200b001dca84be93bmr3746021pla.4.1709334426438; Fri, 01 Mar 2024 15:07:06 -0800 (PST) Received: from stoup.. (098-147-055-211.res.spectrum.com. [98.147.55.211]) by smtp.gmail.com with ESMTPSA id lc11-20020a170902fa8b00b001dc668e145asm3988580plb.200.2024.03.01.15.07.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Mar 2024 15:07:06 -0800 (PST) From: Richard Henderson <richard.henderson@linaro.org> To: qemu-devel@nongnu.org Cc: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= <philmd@linaro.org>, Ilya Leoshkevich <iii@linux.ibm.com>, Helge Deller <deller@gmx.de> Subject: [PATCH 31/60] softmmu/physmem: Remove qemu_host_page_size Date: Fri, 1 Mar 2024 13:05:50 -1000 Message-Id: <20240301230619.661008-32-richard.henderson@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240301230619.661008-1-richard.henderson@linaro.org> References: <20240301230619.661008-1-richard.henderson@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::636; envelope-from=richard.henderson@linaro.org; helo=mail-pl1-x636.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <https://lists.nongnu.org/archive/html/qemu-devel> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org |
Series |
[01/60] linux-user/elfload: Disable core dump if getrlimit fails
|
expand
|
diff --git a/system/physmem.c b/system/physmem.c index e3ebc19eef..3b08e064ff 100644 --- a/system/physmem.c +++ b/system/physmem.c @@ -3511,7 +3511,7 @@ int ram_block_discard_range(RAMBlock *rb, uint64_t start, size_t length) * fallocate works on hugepages and shmem * shared anonymous memory requires madvise REMOVE */ - need_madvise = (rb->page_size == qemu_host_page_size); + need_madvise = (rb->page_size == qemu_real_host_page_size()); need_fallocate = rb->fd != -1; if (need_fallocate) { /* For a file, this causes the area of the file to be zero'd