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] [day] [month] [year] [list]
Message-ID: <20241017132218.71347a64@canb.auug.org.au>
Date: Thu, 17 Oct 2024 13:22:18 +1100
From: Stephen Rothwell <sfr@...b.auug.org.au>
To: Thomas Gleixner <tglx@...utronix.de>, Ingo Molnar <mingo@...hat.com>,
 "H. Peter Anvin" <hpa@...or.com>, Peter Zijlstra <peterz@...radead.org>,
 Kent Overstreet <kent.overstreet@...ux.dev>
Cc: Tejun Heo <tj@...nel.org>, Linux Kernel Mailing List
 <linux-kernel@...r.kernel.org>, Linux Next Mailing List
 <linux-next@...r.kernel.org>
Subject: Re: linux-next: manual merge of the sched-ext tree with the tip
 tree

Hi all,

On Tue, 15 Oct 2024 13:49:04 +1100 Stephen Rothwell <sfr@...b.auug.org.au> wrote:
>
> Today's linux-next merge of the sched-ext tree got a conflict in:
> 
>   kernel/sched/ext.c
> 
> between commit:
> 
>   98442f0ccd82 ("sched: Fix delayed_dequeue vs switched_from_fair()")
> 
> from the tip tree and commit:
> 
>   3fdb9ebcec10 ("sched_ext: Start schedulers with consistent p->scx.slice values")
> 
> from the sched-ext tree.
> 
> I fixed it up (see below) and can carry the fix as necessary. This
> is now fixed as far as linux-next is concerned, but any non trivial
> conflicts should be mentioned to your upstream maintainer when your tree
> is submitted for merging.  You may also want to consider cooperating
> with the maintainer of the conflicting tree to minimise any particularly
> complex conflicts.
> 
> 
> diff --cc kernel/sched/ext.c
> index 5c8453f6a5b5,281652d5df8b..000000000000
> --- a/kernel/sched/ext.c
> +++ b/kernel/sched/ext.c
> @@@ -4475,8 -4560,7 +4560,7 @@@ static void scx_ops_disable_workfn(stru
>   
>   		sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx);
>   
> - 		p->scx.slice = min_t(u64, p->scx.slice, SCX_SLICE_DFL);
>  -		__setscheduler_prio(p, p->prio);
>  +		p->sched_class = __setscheduler_class(p, p->prio);
>   		check_class_changing(task_rq(p), p, old_class);
>   
>   		sched_enq_and_set_task(&ctx);
> @@@ -5192,7 -5270,8 +5270,8 @@@ static int scx_ops_enable(struct sched_
>   
>   		sched_deq_and_put_task(p, DEQUEUE_SAVE | DEQUEUE_MOVE, &ctx);
>   
> + 		p->scx.slice = SCX_SLICE_DFL;
>  -		__setscheduler_prio(p, p->prio);
>  +		p->sched_class = __setscheduler_class(p, p->prio);
>   		check_class_changing(task_rq(p), p, old_class);
>   
>   		sched_enq_and_set_task(&ctx);

This is now a conflict between the tip tree and Linus' tree.  Also
between the bcachefs tree and Linus' tree.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ