lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250120050639.48966-1-vineethr@linux.ibm.com>
Date: Mon, 20 Jan 2025 10:36:39 +0530
From: Madadi Vineeth Reddy <vineethr@...ux.ibm.com>
To: kprateek.nayak@....com
Cc: bsegall@...gle.com, dietmar.eggemann@....com, gautham.shenoy@....com,
        juri.lelli@...hat.com, linux-kernel@...r.kernel.org, mgorman@...e.de,
        mingo@...hat.com, peterz@...radead.org, rostedt@...dmis.org,
        swapnil.sapkal@....com, vincent.guittot@...aro.org,
        vschneid@...hat.com, vineethr@...ux.ibm.com
Subject: Re: [PATCH] sched/fair: Fix inaccurate h_nr_runnable accounting with delayed dequeue

Hi Prateek,

>A SCHED_WARN_ON() to inspect h_nr_runnable post its update in
>dequeue_entities() like below:
>
>    cfs_rq->h_nr_runnable -= h_nr_runnable;
>    SCHED_WARN_ON(((int) cfs_rq->h_nr_runnable) < 0);
>
>is consistently tripped when running wakeup intensive workloads like
>hackbench in a cgroup.

I observed that the WARN_ON is triggered during the boot process without
the patch, and the patch resolves the issue.

However, I was unable to trigger the WARN_ON by running hackbench in a
cgroup without the patch. Could you please share the specific test
scenario or configuration you used to reproduce it?

For the boot process scenario:
Tested-by: Madadi Vineeth Reddy <vineethr@...ux.ibm.com>

Thanks,
Madadi Vineeth Reddy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ