Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3322282imm; Mon, 4 Jun 2018 01:19:40 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIInpq//mqRRMzeuCjUePiZ8BQ1hVpPWOwZGXY7UE/04hfI/g7pjBvOhy5/Luz6loX0F1gT X-Received: by 2002:a65:5d4a:: with SMTP id e10-v6mr5794118pgt.25.1528100380193; Mon, 04 Jun 2018 01:19:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528100380; cv=none; d=google.com; s=arc-20160816; b=q4nz7qhfAaLpYkZ88OWvb6C2E79mnMAk8CmaD4LWfhFuIW+m623vz+8aVJATDhPGJ9 Yepq11CarpwtAYpOgwcyIczPLIo0kzvBddXVRicZ/ZopMNddwupaJeWF1Wo5if+yB894 2Wfsy7a4a/S7fFqoEXs41mmeMEQnVJlKxl1bsKEqyoZSqvl7AH0wfWOm9TLu8rphGyCu m9awc/cJxzA3CcoRDm8gUjSUL+sMpsfVa8FfR2BbTxNKV4g6lVUzyDGeZUmHAz9lRcs/ DuY1t66sp5ftwycel75NqGMHKatGAu9BLAZFf0UydCRkQSJsWJ0eHJw5IRJvdw0QL2Z+ NnfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=QM4ZCqfmZ1J3F61WuR/1VUF8kqIRI7637IRUtQtAdJw=; b=bptJAccXBNheubuuDAyxc5BgA9CnslJ7lyopR6l1TuvE+7UeaperwCC6gQtIZ36ty2 qX72wEPdxBUq3Y7ySJDB4wLFWi3p6k3icgKbVtXuWUcR3iJsl7/fPpGpGNpSps+8QQTY F+TPpMlJLqk6NhE+pFHh83H2GujQlSHKaD87B6zahZue8+93wKw74oseQ3OBx3maLRFQ 0zCwhJX4RwxunzBtIsaSrbGXJowNtyBnExnSUJ0hQXuZ7fTI2ogEfNX82Od+OQALsPxb 7aGeXb27M1lK9HsWhMWoJJzgga9E8Wjd4belPjmWIoAYw8PnZH/AHpiTO3HaKqJupT1C IFlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W4RoDU1t; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k9-v6si2439679pfc.129.2018.06.04.01.19.25; Mon, 04 Jun 2018 01:19:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=W4RoDU1t; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752158AbeFDISt (ORCPT + 99 others); Mon, 4 Jun 2018 04:18:49 -0400 Received: from mail-lf0-f42.google.com ([209.85.215.42]:39375 "EHLO mail-lf0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751412AbeFDISr (ORCPT ); Mon, 4 Jun 2018 04:18:47 -0400 Received: by mail-lf0-f42.google.com with SMTP id t134-v6so23769367lff.6 for ; Mon, 04 Jun 2018 01:18:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=QM4ZCqfmZ1J3F61WuR/1VUF8kqIRI7637IRUtQtAdJw=; b=W4RoDU1thJCb0N3t5ojjYQcLG1bSgcp0kxkstZ4FyHPuPagNXJg06SHkSu63kPi/YS jygorSo9WKbmsxOwtPmH/v6KeWNqG8bsnvUjs+yjb3G6gDYvt6Pcog4QSyRPjP3djsTe 9eC/71zxrj+3s+xr590Vf9PXy5oLmFrmZ4EBQ/qQKXSo7tFlWH9NptdScMMoAJMHzFoM hHwlYHSD1C5/7nE4fdXn2UNUVqv74JEFgC4EA3ytiB4c9LriTwUuF2kT36UpWOFK5KWu aEoTuxHzAejfiIDth+iJgl18M1HbllOBGB0CuWZTyHivvMGzvretHxqfRqeT1AodjU7P oeBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=QM4ZCqfmZ1J3F61WuR/1VUF8kqIRI7637IRUtQtAdJw=; b=LKjDiUCHJha5JslOem6Mq5wdzGNNo6S9krs/Q3KSEU3Im7MbeDFp+nBs6e5Sw53RqI UWU2GJuNYDq0DjmqGKdWkS79OR7jsq7Qysr1qHrKwzFEkYr8F2HJMyZ4J6OoCiYusHX+ VO+/GSQF8ij2l+0iK8cwk/O0BIblyLcmujlDrnrKNX+r/al/2JvlIox2pe7BLnGj3D+2 2NYKUg6qf9z2xFnJR3291K6JhBv5WO32mtL/Pz9H0d3T+PcV5P1mt2JtBhsjarjj5msM wTQJEDEzhBzTbNzfsWr1pcWXLLJ8jSII/c8Ile4eVOACFouGjnXOPZuQ8Ovd/LyUDkAx ndHw== X-Gm-Message-State: ALKqPwdOYRlWYNo/a0vKgvq6n1zK6+ZpinZ21R8HI8HLFFnspRrFu5ZO iqu/Mj4tVSPLV5Sl4LT2Rq4Y8aKCB+dqE2F4I1A= X-Received: by 2002:a19:12c7:: with SMTP id 68-v6mr12960291lfs.10.1528100326394; Mon, 04 Jun 2018 01:18:46 -0700 (PDT) MIME-Version: 1.0 References: <1527940734-35161-1-git-send-email-ufo19890607@gmail.com> <1527940734-35161-2-git-send-email-ufo19890607@gmail.com> <20180604065238.GE19202@dhcp22.suse.cz> In-Reply-To: <20180604065238.GE19202@dhcp22.suse.cz> From: =?UTF-8?B?56a56Iif6ZSu?= Date: Mon, 4 Jun 2018 16:18:34 +0800 Message-ID: Subject: Re: [PATCH v7 2/2] Refactor part of the oom report in dump_header To: mhocko@kernel.org Cc: akpm@linux-foundation.org, rientjes@google.com, kirill.shutemov@linux.intel.com, aarcange@redhat.com, penguin-kernel@i-love.sakura.ne.jp, guro@fb.com, yang.s@alibaba-inc.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Wind Yu Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Tetsuo I know what you mean. Actully I refer to the code for kernel version: 3.10.0-514. I think I can just use an array of type char, rather than static char. Is it right? Thanks