Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp1734586imm; Thu, 21 Jun 2018 01:19:25 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLOltRiIde7HVb0blNFC3uuqztJy9ovY/WJF6T3S+jIvw0v+4C5mscfsyHxJvlR7YEk4Md1 X-Received: by 2002:a62:c61d:: with SMTP id m29-v6mr26420131pfg.26.1529569165696; Thu, 21 Jun 2018 01:19:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529569165; cv=none; d=google.com; s=arc-20160816; b=xWLak0Yvp43+laejzNJrUwIb1JprZoveCVwUda9xiZ7nMavphrDzq8F/puhoAy2ltP H4Ur1NQXkn1WTllMVfutI+HO9DqFZI9hOpg7kCVfDgVSb9Hiw62bhSnM88bY4m9gVQos MO7suKbKKXvSDFvm90CIGxMtCi8X6ifcYuKvWWw2Ga0ve5aXWjomN6dq9i6nPdm9YvGq 1WYQGdWz0Le1z7fbG4V4Ll+F0q6iJR2iMhDqZG7dyMw09+5cUQwD/ixAYZ3MPvr/DOzx p9QD/a79i/VpwKS7qvOfuJzFCOa+htrZr0uYVpG2Mioxf03ERBrIzVuOhQnT553ueh9h CrqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=k0g6lmZ49b8ntwBqahUjJNp88VXk44As/Dwja4ypfX4=; b=scbENwrVx7PjWdK1mbrE/PoMx34bh9zGSa6Hwum+8lfBUQqZn9/dhlTHJSl/GGyepJ Xp5+eqrWCvawhkE2Y1tjKxzGGQ1DKLjOyV6DUOFtR/FQG7CWh2n3WGn3pxQBFQufZ9JO ZSIK0mVq1GOcA6NhZkSJZgfFbVyZ9ssXwSt1jfKgez5MQAsHF7331PsQwxsPv/ywvcoR mXVYTv1nZI53GZr4r/IsSJgTY9ciVWI/I9cTRMUYFHk5+tyS3opjNY/YtVjpjNs9N6bR 6/pGS/mjz5qFxr53XtVt+JHMA4PttLH6wUH5zXdFxTh5M1XexkJe3bmE7ITSZzBvJlE+ 3wHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=XooEUluk; 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 b6-v6si3383646pgv.595.2018.06.21.01.19.10; Thu, 21 Jun 2018 01:19:25 -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=XooEUluk; 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 S932938AbeFUIRM (ORCPT + 99 others); Thu, 21 Jun 2018 04:17:12 -0400 Received: from mail-pl0-f66.google.com ([209.85.160.66]:41674 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932695AbeFUIRJ (ORCPT ); Thu, 21 Jun 2018 04:17:09 -0400 Received: by mail-pl0-f66.google.com with SMTP id w8-v6so1260639ply.8 for ; Thu, 21 Jun 2018 01:17:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=k0g6lmZ49b8ntwBqahUjJNp88VXk44As/Dwja4ypfX4=; b=XooEUlukUsJdyI05VPGpwBWbhs29Xifmn8O5LI+S3H/jXySO8MV4NCJAx6fWBY1Wb0 QaKv/uUt8cqi2JgpItNF8SIDo47Cododd3OHcq3qS1j1P84GRTs7c+mSxwRCqDfNg85J M41COioTxzwMEG4MNP2G0AcrnGFFMmVAZhVWfVVDzeI2wd4HyyEAW8zkrnHRhw/EUPao 1ar2wvP6y7H7VperYr/VwB+SyZztZ5u60hlcRkvj/0T64YHRGRSfKgbmbDEWctje3Ifu cu3s993vNhi0GEuQaWrjCXxa0Szsm1A78T5x/g/Su4whXMMVuLzre/5vZXFmD6vRgw8W 7Xnw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=k0g6lmZ49b8ntwBqahUjJNp88VXk44As/Dwja4ypfX4=; b=rKpfV2j1xZJ9KXQmiNmJtM3XoQHcoVlLcOnfQukV/wZrEuN9yxpZHCVLVg30uzTXBJ ap2T8VCwnTkSDBWIU1Lrwa3rQVgbyvq3UcyF3Ka4KYoVyrMzOVptMwxt5gKpGSRZR5J1 nU6dhVD1b96nd4ZagX7W+mqs6vwlq1R9i7kKgLhw3ua6sw0+EyYk9StpxF8AJgLlRjLd iB3g34AIUUcGDESScX62lTO5obOYOAmzAQG6VxDZHXdTqkv3An6FCHsMs78bWjWIS/DW osucISFULgwHimVFs/zvtBJu6lCH4DhLH644/avAQ0FMjcjuFbBk2aLHigv9gPRys4ou LOow== X-Gm-Message-State: APt69E1VZAGioOS4BHn6mvEd2cvK0VtTmhJGFxsVYUwMLwzDsVdvnZgs az439fL5mK3IZoEWXYNI6QM= X-Received: by 2002:a17:902:345:: with SMTP id 63-v6mr27788643pld.328.1529569029352; Thu, 21 Jun 2018 01:17:09 -0700 (PDT) Received: from localhost ([39.7.59.103]) by smtp.gmail.com with ESMTPSA id 29-v6sm9969028pfp.24.2018.06.21.01.17.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 21 Jun 2018 01:17:07 -0700 (PDT) Date: Thu, 21 Jun 2018 17:17:04 +0900 From: Sergey Senozhatsky To: Dmitry Vyukov Cc: Andy Shevchenko , Dmitry Vyukov , Thomas Gleixner , Ingo Molnar , "maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)" , Linux Kernel Mailing List , Sergey Senozhatsky Subject: Re: [PATCH] arch/x86: get rid of KERN_CONT in show_fault_oops() Message-ID: <20180621081704.GA677@jagdpanzerIV> References: <20180620125540.228766-1-dvyukov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.0 (2018-05-17) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On (06/21/18 09:59), Dmitry Vyukov wrote: > > > >> + printk(KERN_ALERT "BUG: unable to handle kernel %s at %px\n", > >> + (address < PAGE_SIZE ? "NULL pointer dereference" : > >> + "paging request"), (void *) address); > > > > Perhaps pr_alert() ? > > It's the same, right? Make sense. Right. In printk(KERN_ ...) people tend to forget KERN_ sometimes, so, I think, in general we want to see more pr_foo() and less printk(). -ss