2023-12-07 15:14:20

by Daniel Wagner

[permalink] [raw]
Subject: [PATCH RT 0/2] Linux v4.19.299-rt130-rc1

Dear RT Folks,

This is the RT stable review cycle of patch 4.19.299-rt130-rc1.

Please scream at me if I messed something up. Please test the patches
too.

The -rc release is also available on kernel.org

https://git.kernel.org/pub/scm/linux/kernel/git/rt/linux-stable-rt.git

on the v4.19-rt-next branch.

If all goes well, this patch will be converted to the next main
release on 2023-12-14.

Signing key fingerprint:

5BF6 7BC5 0826 72CA BB45 ACAE 587C 5ECA 5D0A 306C

All keys used for the above files and repositories can be found on the
following git repository:

git://git.kernel.org/pub/scm/docs/kernel/pgpkeys.git

Enjoy!
Daniel

Changes from v4.19.295-rt129:


Daniel Wagner (2):
Revert "sched/rt: Provide migrate_disable/enable() inlines"
Linux 4.19.299-rt130

include/linux/preempt.h | 30 ------------------------------
localversion-rt | 2 +-
2 files changed, 1 insertion(+), 31 deletions(-)

--
2.42.0


2023-12-07 15:14:30

by Daniel Wagner

[permalink] [raw]
Subject: [PATCH RT 1/2] Revert "sched/rt: Provide migrate_disable/enable() inlines"

v4.19.299-rt130-rc1 stable review patch.
If anyone has any objections, please let me know.

-----------


This reverts commit 56e8949825226341d28dd5156b3d0057684ff669.

The tree contains already the migrate_disable/enable() helpers thus this
stable backport conflicts (b) with the existing definition (compiler
complains with conflicting definition). Thus we don't need this
backported functions and can avoid the conflict by just dropping the
backport.

Signed-off-by: Daniel Wagner <[email protected]>
---
include/linux/preempt.h | 30 ------------------------------
1 file changed, 30 deletions(-)

diff --git a/include/linux/preempt.h b/include/linux/preempt.h
index 29ecd13afdda..9c74a019bf57 100644
--- a/include/linux/preempt.h
+++ b/include/linux/preempt.h
@@ -422,34 +422,4 @@ static inline void preempt_notifier_init(struct preempt_notifier *notifier,

#endif

-/**
- * migrate_disable - Prevent migration of the current task
- *
- * Maps to preempt_disable() which also disables preemption. Use
- * migrate_disable() to annotate that the intent is to prevent migration,
- * but not necessarily preemption.
- *
- * Can be invoked nested like preempt_disable() and needs the corresponding
- * number of migrate_enable() invocations.
- */
-static __always_inline void migrate_disable(void)
-{
- preempt_disable();
-}
-
-/**
- * migrate_enable - Allow migration of the current task
- *
- * Counterpart to migrate_disable().
- *
- * As migrate_disable() can be invoked nested, only the outermost invocation
- * reenables migration.
- *
- * Currently mapped to preempt_enable().
- */
-static __always_inline void migrate_enable(void)
-{
- preempt_enable();
-}
-
#endif /* __LINUX_PREEMPT_H */
--
2.42.0

2023-12-07 15:24:15

by Daniel Wagner

[permalink] [raw]
Subject: [PATCH RT 2/2] Linux 4.19.299-rt130

v4.19.299-rt130-rc1 stable review patch.
If anyone has any objections, please let me know.

-----------


Signed-off-by: Daniel Wagner <[email protected]>
---
localversion-rt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/localversion-rt b/localversion-rt
index 90303f5aabcf..6fa797e5b850 100644
--- a/localversion-rt
+++ b/localversion-rt
@@ -1 +1 @@
--rt129
+-rt130
--
2.42.0