public inbox for linux-next@vger.kernel.org 
 help / color / mirror / Atom feed
* linux-next: manual merge of the mm-nonmm-stable tree with Linus' tree
@ 2024-03-14 22:46 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2024-03-14 22:46 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Chengming Zhou, Linus Torvalds, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 750 bytes --]

Hi all,

Today's linux-next merge of the mm-nonmm-stable tree got a conflict in:

  fs/ocfs2/super.c

between commit:

  f88c3fb81c4b ("mm, slab: remove last vestiges of SLAB_MEM_SPREAD")

from Linus' tree and commit:

  46bd9449464a ("ocfs2: remove SLAB_MEM_SPREAD flag usage")

from the mm-nonmm-stable tree.

I fixed it up (I just used the former) 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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* linux-next: manual merge of the mm-nonmm-stable tree with Linus' tree
@ 2024-07-10 22:48 Stephen Rothwell
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Rothwell @ 2024-07-10 22:48 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Kent Overstreet, Kuan-Wei Chiu, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1611 bytes --]

Hi all,

Today's linux-next merge of the mm-nonmm-stable tree got a conflict in:

  fs/bcachefs/clock.c

between commit:

  a2d23f3d916b ("bcachefs: io clock: run timer fns under clock lock")

from Linus' tree and commit:

  1fcce6b8a768 ("bcachefs: remove heap-related macros and switch to generic min_heap")

from the mm-nonmm-stable tree.

I fixed it up (I think - 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.

-- 
Cheers,
Stephen Rothwell

diff --cc fs/bcachefs/clock.c
index 0f40b585ce2b,18fab9c44b1b..000000000000
--- a/fs/bcachefs/clock.c
+++ b/fs/bcachefs/clock.c
@@@ -131,10 -148,21 +148,17 @@@ static struct io_timer *get_expired_tim
  					  unsigned long now)
  {
  	struct io_timer *ret = NULL;
+ 	const struct min_heap_callbacks callbacks = {
+ 		.less = io_timer_cmp,
+ 		.swp = io_timer_swp,
+ 	};
+ 
 -	spin_lock(&clock->timer_lock);
 -
+ 	if (clock->timers.nr &&
+ 	    time_after_eq(now, clock->timers.data[0]->expire)) {
+ 		ret = *min_heap_peek(&clock->timers);
+ 		min_heap_pop(&clock->timers, &callbacks, NULL);
+ 	}
  
- 	if (clock->timers.used &&
- 	    time_after_eq(now, clock->timers.data[0]->expire))
- 		heap_pop(&clock->timers, ret, io_timer_cmp, NULL);
 -	spin_unlock(&clock->timer_lock);
 -
  	return ret;
  }
  

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-10 22:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-14 22:46 linux-next: manual merge of the mm-nonmm-stable tree with Linus' tree Stephen Rothwell
  -- strict thread matches above, loose matches on Subject: below --
2024-07-10 22:48 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox