From mboxrd@z Thu Jan 1 00:00:00 1970 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 87451C77B76 for ; Sun, 16 Apr 2023 23:36:11 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229636AbjDPXgK (ORCPT ); Sun, 16 Apr 2023 19:36:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229478AbjDPXgJ (ORCPT ); Sun, 16 Apr 2023 19:36:09 -0400 Received: from pulsar.hadrons.org (2.152.192.238.dyn.user.ono.com [2.152.192.238]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8AD219B2 for ; Sun, 16 Apr 2023 16:36:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=hadrons.org ; s=201908; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:From:Reply-To:Subject:Content-Type: Content-ID:Content-Description:X-Debbugs-Cc; bh=yvMG5XZops0HV2HxgX8rabOXlzl08Lpl0AVPioF2HkM=; b=M7mLiwGwzmLz469mjFjLe3KAXP jqQCjKGEg6B2wZajruaYzYp7fjp+erf9X6ewAekP0yHPYIHmJdXlj7EYerALW1ouGWRUeBq0WKO5n eDpqdYylMaLLbbyaQooozjesNCsi4SeRReMVd0JJ4m1TDHi1Dk2ekLDS5pDQGvPFm7muETk5b2/Jf BItlXXDY0MLZ4U5wEnuF2Hlr0td31GuN5ssDuDoTQ0ytfn3GfLxtgbQ9IiFoa+Dsxj+NZ4oQ+QZF5 xX2ISxvCqo5JzLu4pt+3FcRhZgziS5jJVjyiI8WCT0sjh7cKvfCunN5B2AEulZjvAJ1K2YnXc0omR RVLCqjHg==; Received: from guillem by pulsar.hadrons.org with local (Exim 4.96) (envelope-from ) id 1poBuh-0000sb-11; Mon, 17 Apr 2023 01:36:07 +0200 From: Guillem Jover To: Alejandro Colomar Cc: linux-man@vger.kernel.org Subject: [PATCH 2/4] proc.5: A process can increase its own /proc/PID/oom_adj setting Date: Mon, 17 Apr 2023 01:35:50 +0200 Message-Id: <20230416233552.283776-3-guillem@hadrons.org> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230416233552.283776-1-guillem@hadrons.org> References: <20230416233552.283776-1-guillem@hadrons.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-man@vger.kernel.org See kernel commit 8fb4fc68ca391862b061b3d358a288ccf6abed39. Signed-off-by: Guillem Jover --- man5/proc.5 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/man5/proc.5 b/man5/proc.5 index 1947957ad..4bb7dd262 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -1633,7 +1633,11 @@ a new process inherits its parent's setting. A process must be privileged .RB ( CAP_SYS_RESOURCE ) -to update this file. +to update this file, +.\" commit 8fb4fc68ca391862b061b3d358a288ccf6abed39 +although a process can always increase its own +.I oom_adj +setting (since 2.6.20). .IP Since Linux 2.6.36, use of this file is deprecated in favor of .IR /proc/ pid /oom_score_adj . -- 2.40.0