From mboxrd@z Thu Jan 1 00:00:00 1970 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) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="U1zxJOEc" 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-doc@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