Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp2723170rwo; Sun, 23 Jul 2023 23:27:56 -0700 (PDT) X-Google-Smtp-Source: APBJJlFccjJy354K8bg9XWuHFqKdLj4FFfViZFy/pb3DYkPC5p/g/suLpFm2zIc4rgZ4+9IcB06t X-Received: by 2002:a17:907:3f22:b0:992:103c:43fa with SMTP id hq34-20020a1709073f2200b00992103c43famr16522588ejc.30.1690180076242; Sun, 23 Jul 2023 23:27:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690180076; cv=none; d=google.com; s=arc-20160816; b=qkjXqBtKOzkTuNG2IKVz6m4ZOVJ0yMo99OFGM0m+mrcQeGZzF0ivNy64pa05xZ71U/ G+tQDADj1Fh3yyZf2v3Ma5QsIlZTLXMFNxsJ05hbpATaBglov4LaZGQv38Kq5Eb2WZiE 4WicGISjLJ2sDdHWjsVWNp1wnTkfNwErVD/ptHHQo8JXDsAGVPHFqC4ZBPf0Xeyv3nL1 s7wNhz34BzfXh5RErQF5RqsnzeDbXgYu0XZWHUja428ZLGAU+KsZp+KnukZ9c3zrz4gT tpjIYj1tW3hdQXVGioOxCAYWXz3d92SIQD8dAphRimTPeG+taSLmVv50Mmbum3NPa1Ho StzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=GZEd3y5m5T6ObBTdJq73wFLu8a8S74TGSO2fnmaNWAY=; fh=11PVEmm2eqw7giemKJ2+q0BDml1HPUlEHxW6apqWds8=; b=D+0KeEpnszEBL5PYOMFslESZ6kAY577b70u5illMLyiEO/kQ4D+ZaGGBIks5PYWRBA c5GAbVILpXj3GZ0wzVSuSCf+2OiemAEd5N5y0M31U1XM3g3jOgPbNPs/5hEEeDznrN35 4WFrNujMThpC3sbutc8nblow1GKRD0b1xX491zuLK4TBB9YODCW+CGkly7F/ahkwIwo9 dDZ15YultT3K5xYh0ApHpkWtiBsaI63rHO83GCOyXL385DNmbe5AJtjiHr8ieuS5zhqi BNOzPIYEdqP/86A/6yo8NIH75TRb/E2mtadNRzCvCGZk/iT2T2d8yhHqVXFK9TktFVHR NnAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DoB6rkoI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qn15-20020a170907210f00b0098e417a0c3bsi5652929ejb.109.2023.07.23.23.27.31; Sun, 23 Jul 2023 23:27:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DoB6rkoI; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230225AbjGXGYt (ORCPT + 99 others); Mon, 24 Jul 2023 02:24:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229850AbjGXGYs (ORCPT ); Mon, 24 Jul 2023 02:24:48 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBAE3AF for ; Sun, 23 Jul 2023 23:24:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690179840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GZEd3y5m5T6ObBTdJq73wFLu8a8S74TGSO2fnmaNWAY=; b=DoB6rkoI7r8Rl6n9nCpkLwy8qboLGWG9j7+QwV008VmO7B9NQETM48pc2DymJ3YyE0re7K 1sRvcxEVMoWFlKh2Ht18YJETq5SMVwfMwlrPGTnnsMWVKK3k1PRqER3vF8up1V3XHYWej8 liQUe7Cad5/JHgyyq0rtb0W3uD2F1dY= Received: from mail-wr1-f70.google.com (mail-wr1-f70.google.com [209.85.221.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-125-_BZ3PqXfNfSS-qgdQ3FSfQ-1; Mon, 24 Jul 2023 02:23:58 -0400 X-MC-Unique: _BZ3PqXfNfSS-qgdQ3FSfQ-1 Received: by mail-wr1-f70.google.com with SMTP id ffacd0b85a97d-31701b27d19so2062107f8f.1 for ; Sun, 23 Jul 2023 23:23:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690179837; x=1690784637; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=GZEd3y5m5T6ObBTdJq73wFLu8a8S74TGSO2fnmaNWAY=; b=Z6FLQ3qYRttGIGfsJTy5GXkWEQ60r92luPThxvqtfMhfo+71nlp1BMnBGX0h4KVfNc aQ4p3Xh3+09GpFN4WEuNPqUSjYNhziWGVPT/nMe/yzGzkMfzTWh3K3uioRvNwqTh4kZj pBl6qxlN32Z1V8gpytGzRZJ3ZF1vGV76aU/Cl73NLv1YBQ44uuVtKDfW53qZVx35ykhy wN39x2DZvKwAWP1CC+IjcjVBrEIdHw6ElPFrXhcG+sua3sQMDBlECZYIuYYK020Tw0Aj E5rj7KSJii74ArvL36KuGJMDZ1JTriF9poL6QuTS0ZDl+sNcNH5kA9wyFfk3DpDdqjAi /Trw== X-Gm-Message-State: ABy/qLYrzfqoPhe6IGeiwa/e41EFtBeBIcYrRwpABZfJvZmfVv3uCMVb CL7MDlKsM6Xivv9DNfN4IppwJc5uR7+VOn64ucLr750KAN0nOegeKYIPOJMTF3dThB4aiE0VYwZ YEY6b7x5MSWv1QgNIg1F8wfoK X-Received: by 2002:adf:e74f:0:b0:317:3e26:1699 with SMTP id c15-20020adfe74f000000b003173e261699mr4271856wrn.24.1690179837371; Sun, 23 Jul 2023 23:23:57 -0700 (PDT) X-Received: by 2002:adf:e74f:0:b0:317:3e26:1699 with SMTP id c15-20020adfe74f000000b003173e261699mr4271844wrn.24.1690179836981; Sun, 23 Jul 2023 23:23:56 -0700 (PDT) Received: from ?IPV6:2003:d8:2f45:d000:62f2:4df0:704a:e859? (p200300d82f45d00062f24df0704ae859.dip0.t-ipconnect.de. [2003:d8:2f45:d000:62f2:4df0:704a:e859]) by smtp.gmail.com with ESMTPSA id w16-20020adfec50000000b003143867d2ebsm11776170wrn.63.2023.07.23.23.23.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 23 Jul 2023 23:23:56 -0700 (PDT) Message-ID: <86fd0ccb-f460-651f-8048-1026d905a2d6@redhat.com> Date: Mon, 24 Jul 2023 08:23:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v8 1/4] fs/proc/kcore: avoid bounce buffer for ktext data Content-Language: en-US To: Baoquan He , Jiri Olsa Cc: Lorenzo Stoakes , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, Andrew Morton , Uladzislau Rezki , Matthew Wilcox , Liu Shixin , Jens Axboe , Alexander Viro References: From: David Hildenbrand Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, > > I met this too when I executed below command to trigger a kcore reading. > I wanted to do a simple testing during system running and got this. > > makedumpfile --mem-usage /proc/kcore > > Later I tried your above objdump testing, it corrupted system too. > What do you mean with "corrupted system too" -- did it not only fail to dump the system, but also actually harmed the system? @Lorenzo do you plan on reproduce + fix, or should we consider reverting that change? -- Cheers, David / dhildenb