Received: by 2002:a05:7412:a9a3:b0:f9:327e:43ab with SMTP id o35csp53828rdh; Mon, 18 Dec 2023 04:18:31 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOUuyjUzH53TD8KTUiTy8YGzIvK8pQyq4ewnyJE0V5c2LeufT2E/XalmR72PUVO6UQjYwc X-Received: by 2002:a05:6a21:191:b0:194:5edb:ab20 with SMTP id le17-20020a056a21019100b001945edbab20mr1783652pzb.58.1702901911376; Mon, 18 Dec 2023 04:18:31 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702901911; cv=none; d=google.com; s=arc-20160816; b=xFtn4wZe7yFIgzesKdsSyMELPmMKQafapOegcCrdJ9EZ9fE+Ob5jMQSwrj26umEL6C QfXjlMHGa+o0+UsH2XCcSnXpfHrLigfDmX48JAnGfpcLdMZipjPEqmrm8fNOvLkhmfXK 1DBVrqr+Y7eeZYVgF5/btONuL28pTwsG3eH8Yw6Imhqdkv8A5iFUaV8Z0JbJABcTYw84 ll4NffftdgYNONsTbe6fcHfqcmC8B9QylgSzHA8aaiuf2sj8MJeA0b04LsY4k/eAzW6/ iS5SMzK1Gz5TheSbmW4JrbDysH2NDveNYuGt47YOnMTW9QgmwjXd/D8T6B+/ZAB6EWlA RPaA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=w56a1C7UNEdV82tbtf4oXL1RFtj3mbp+pI/ZizTvj0M=; fh=P+ljZgjtlgCphSWNS/IdevCPcefD/jAa3nOBAPNdUsk=; b=pfqz39RAcMF627L7TaplMo8if47sI0GX7YVAARmUriIvtFkGk74UYNFyY1zDYS6ObV OusuCEOL36+7A4dDsxkPnk6Am+on4Ipnuqo/sD7N/AGYvRhMy3BIkGJjFI7flSdGfSgs mp0aTNXjf9VXVCeofApotCGHcNz1NFyPoBnfQo3PAqTtkwgSB1+4qmUkBxI2xjQe80NP ZYDvsJFcr57st+zag4+3VENiam9KzASS60wCoK98VzCNMNIgVlsa0DPZ6vi/q1mdPc5d TThwRzNHuXMYmwJHIdES5Iw9+YDb47A3mlTKwkGmkJjlOR63tPty4Bu9xjOvTwE1dfpj Dq3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=U1zxJOEc; spf=pass (google.com: domain of linux-kernel+bounces-3556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id k141-20020a628493000000b006cd82b4d0c4si3524523pfd.89.2023.12.18.04.18.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Dec 2023 04:18:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-3556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=U1zxJOEc; spf=pass (google.com: domain of linux-kernel+bounces-3556-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-3556-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 15181281D23 for ; Mon, 18 Dec 2023 12:18:31 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B08C3481BD; Mon, 18 Dec 2023 12:18:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="U1zxJOEc" X-Original-To: linux-kernel@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2CE02030F; Mon, 18 Dec 2023 12:18:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EA69FC433C8; Mon, 18 Dec 2023 12:18:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702901903; bh=RKxkpi4VMfErZSEKvSliBz5sD1Yuk65kLdGZ8NdpA/A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=U1zxJOEcU1gJy/RU0pKgS+WwAUo5tCgYmJ206N6sw30uFkeKNlVUfB20MJ3Qozx8m hhc8N4C//eq99hexkpqABByXQQbvFWRPMX/Vzw+TfM+ZOqJ1EelCgh6T2GEErx1359 6WGEyeLrOSXLQGRY7vTf6HsDE9bpjiOz3GNPDJbw= Date: Mon, 18 Dec 2023 13:18:20 +0100 From: Greg Kroah-Hartman To: =?utf-8?B?VG9tw6HFoSBNdWRydcWIa2E=?= Cc: Jonathan Corbet , linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: Re: [PATCH] /proc/sysrq-trigger can now pause processing for one second Message-ID: <2023121858-aground-consent-cfe3@gregkh> References: <20231218114222.283705-1-tomas.mudrunka@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Mon, Dec 18, 2023 at 01:13:34PM +0100, Tomáš Mudruňka wrote: > > Bah, what's wrong with: > > echo e > /proc/sysrq-trigger > > sleep 2 > > echo i > /proc/sysrq-trigger > > ? > > Your bash, or even ssh session being killed during the first line, not > getting to the two subsequent lines. What will kill it? I feel like you are adding features to the kernel that can be done in userspace, which is generally not a good idea. thanks, greg k-h