Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 498C0C433EF for ; Tue, 21 Dec 2021 13:31:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238207AbhLUNbU (ORCPT ); Tue, 21 Dec 2021 08:31:20 -0500 Received: from mout.gmx.net ([212.227.17.22]:43549 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238201AbhLUNbT (ORCPT ); Tue, 21 Dec 2021 08:31:19 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1640093478; bh=NE7B2Uj27oq01oB999F9nL30To46EDpOXkHPpstsVU8=; h=X-UI-Sender-Class:Date:From:Subject:To; b=ToAtXkjPzOWMQPC7n4UhogGjxjyQZS8EPhHmwkcEuNZDvlp/LdjvWjUPcvQapzLBR 226l+Ry9OtbLtjUc58iOgistj6epd01/SVlaWN2InCdkMfgL6RKgilu2rhfy33SWyC kD6yUPXZiZO5W3CVOY2ea6CCbnSoV7ADk3JHd4qY= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.1.252] ([5.166.175.171]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MvsJ5-1mA1sw3IN5-00stgJ for ; Tue, 21 Dec 2021 14:31:17 +0100 Message-ID: <2dca3f30-3f22-6b40-ee8c-6d02b7613132@gmx.com> Date: Tue, 21 Dec 2021 13:31:16 +0000 MIME-Version: 1.0 From: "Artem S. Tashkinov" Subject: User being unable to decrease process nice value To: linux-kernel@vger.kernel.org Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:HwjHQSfJwTpdvxMhhXlpesKvVKNvo+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mMoYqwXM4WvT0z8QUIdxmnmdI/F2zrjCXABZXBno8 lwNT8LPzXf7BLN42E9luCPkfXxj6pHx27fW9hVfjygkLNTsiuqCo5nCr3IWCcDTs5y5VpK2Fo ToepyhILTqXCRfmDY3O+RZ2Cbgqn5e9N5AkmniPuva5c2nTnKUf3NijvsfSnnEMMCAiDKaT6U lijnn06ahC44+ZlmfqbBNap3hUm20QsY1v61QD2ydlFZoHFVaX7JFsU32Hx5IJc59Q== Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, I've been unable to find any rational logical complete answer to the following question. In Linux non-privileged users are able to increase their own processes nice value but they are not allowed to decrease it back to 0. To me this does not make any sense because, even if that's some kind of very old policy/rule from old UNIXes, the user can still simply restart their processes to get to the coveted 0. What's the rationale behind this seemingly illogical and easily circumventable limitation/restriction? Best regards, Artem