Received: by 10.213.65.68 with SMTP id h4csp3747626imn; Tue, 3 Apr 2018 10:00:59 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/yYrDVUIl0Yf2LVgWqJw5KJzl0+7vSQZHSFrg72rZ8Wei0KW62z9Zh/XRBeFJe0nn70Igd X-Received: by 10.101.100.132 with SMTP id e4mr9707435pgv.240.1522774859436; Tue, 03 Apr 2018 10:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522774859; cv=none; d=google.com; s=arc-20160816; b=P6SmacH5L+ranYWHbWX6p2hKYwKKrwP4fH4mapavQdWpkg5r324Q7xhYx1kUBcZkT/ dJPwPjVv90nr9YiS4ruVkKGR1tqvDqZTK1/MP1Lk43oOi3+6ydsnBhngcvJ/PZS86zIK pk4ZWBbQBPW+9Zzirz/zgOJ8CuKMgvdnR751ajJzcz/JFNvHI/jFWJSaFMd9UzLVOHKh ZQ4PY0H+xGIT8lsnvXdZcOaeLPPTMlvMqQoBcdWcfmPza0Wg16TbIsITbx4HJgIXlaUe uw0l92YkUTlbJQnrLyCBGKmrAkWGI8MbBSUeNIimqY7p2n9+ou5G7+uKWWQOunSyVhxp j7MA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=6rsczMmiEHeB0fSKJ03dRA0oUq55F/uUkaJqgtIsPWE=; b=GmCFFqzgYq9l2PqG7ICP4Vt0JkQFoa5lBsZn8ExGdsH8F3SrOkDcao/m/OdjJzg2i5 OllhIYznqDVSUnwKEHnFkbkpZuAbpk0NXK5gO7ZAM4mjvlDM4z/UxrnJsOWvQDBBN6t8 xcEjAb9+NPAVjJPd8cLxnR7LJokegAMQN0eQoE5dXr7Auw7gM0hRsgKpk5OeMgiPlZUV ONppxJNSsxtNVcBnYZriyQU/TwmvvU9qNsv60yZh8AI+JaoqdJ9sRF3cdqZjiGgBdmZZ YYm1yHc+lcHeFNEPcuwDMCvvgPGl0NvG4DOFwzwS/4a3daujbgE6+RKNStjxnhyk4Zge 1iAg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 67-v6si979981pla.612.2018.04.03.10.00.41; Tue, 03 Apr 2018 10:00:59 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752603AbeDCQ7U (ORCPT + 99 others); Tue, 3 Apr 2018 12:59:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:52282 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751561AbeDCQ7S (ORCPT ); Tue, 3 Apr 2018 12:59:18 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CCE4A20CAA; Tue, 3 Apr 2018 16:59:16 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CCE4A20CAA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Tue, 3 Apr 2018 12:59:14 -0400 From: Steven Rostedt To: Michal Hocko Cc: Zhaoyang Huang , Ingo Molnar , linux-kernel@vger.kernel.org, kernel-patch-test@lists.linaro.org, Andrew Morton , Joel Fernandes , linux-mm@kvack.org, Vlastimil Babka Subject: Re: [PATCH v1] kernel/trace:check the val against the available mem Message-ID: <20180403125914.66f8abbb@gandalf.local.home> In-Reply-To: <20180403161119.GE5501@dhcp22.suse.cz> References: <1522320104-6573-1-git-send-email-zhaoyang.huang@spreadtrum.com> <20180330102038.2378925b@gandalf.local.home> <20180403110612.GM5501@dhcp22.suse.cz> <20180403075158.0c0a2795@gandalf.local.home> <20180403121614.GV5501@dhcp22.suse.cz> <20180403082348.28cd3c1c@gandalf.local.home> <20180403123514.GX5501@dhcp22.suse.cz> <20180403093245.43e7e77c@gandalf.local.home> <20180403135607.GC5501@dhcp22.suse.cz> <20180403101753.3391a639@gandalf.local.home> <20180403161119.GE5501@dhcp22.suse.cz> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 3 Apr 2018 18:11:19 +0200 Michal Hocko wrote: > yes a fallback is questionable. Whether to make the batch size > configuration is a matter of how much internal details you want to > expose to userspace. Well, it is tracing the guts of the kernel, so internal details are generally exposed to userspace ;-) -- Steve