]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
drop exit-wait_task... patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Feb 2024 14:13:06 +0000 (15:13 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Feb 2024 14:13:06 +0000 (15:13 +0100)
queue-6.1/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch [deleted file]
queue-6.1/series
queue-6.6/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch [deleted file]
queue-6.6/series
queue-6.7/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch [deleted file]
queue-6.7/series

diff --git a/queue-6.1/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch b/queue-6.1/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
deleted file mode 100644 (file)
index ff9080b..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-From c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 Mon Sep 17 00:00:00 2001
-From: Oleg Nesterov <oleg@redhat.com>
-Date: Tue, 23 Jan 2024 16:34:00 +0100
-Subject: exit: wait_task_zombie: kill the no longer necessary spin_lock_irq(siglock)
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-commit c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 upstream.
-
-After the recent changes nobody use siglock to read the values protected
-by stats_lock, we can kill spin_lock_irq(&current->sighand->siglock) and
-update the comment.
-
-With this patch only __exit_signal() and thread_group_start_cputime() take
-stats_lock under siglock.
-
-Link: https://lkml.kernel.org/r/20240123153359.GA21866@redhat.com
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
-Cc: Eric W. Biederman <ebiederm@xmission.com>
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/exit.c |   10 +++-------
- 1 file changed, 3 insertions(+), 7 deletions(-)
-
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -1146,17 +1146,14 @@ static int wait_task_zombie(struct wait_
-                * and nobody can change them.
-                *
-                * psig->stats_lock also protects us from our sub-threads
--               * which can reap other children at the same time. Until
--               * we change k_getrusage()-like users to rely on this lock
--               * we have to take ->siglock as well.
-+               * which can reap other children at the same time.
-                *
-                * We use thread_group_cputime_adjusted() to get times for
-                * the thread group, which consolidates times for all threads
-                * in the group including the group leader.
-                */
-               thread_group_cputime_adjusted(p, &tgutime, &tgstime);
--              spin_lock_irq(&current->sighand->siglock);
--              write_seqlock(&psig->stats_lock);
-+              write_seqlock_irq(&psig->stats_lock);
-               psig->cutime += tgutime + sig->cutime;
-               psig->cstime += tgstime + sig->cstime;
-               psig->cgtime += task_gtime(p) + sig->gtime + sig->cgtime;
-@@ -1179,8 +1176,7 @@ static int wait_task_zombie(struct wait_
-                       psig->cmaxrss = maxrss;
-               task_io_accounting_add(&psig->ioac, &p->ioac);
-               task_io_accounting_add(&psig->ioac, &sig->ioac);
--              write_sequnlock(&psig->stats_lock);
--              spin_unlock_irq(&current->sighand->siglock);
-+              write_sequnlock_irq(&psig->stats_lock);
-       }
-       if (wo->wo_rusage)
index 1cc7ca76e3b3a623ff927bd1c12a0eebe3bca052..de7eee4e4a3eff27d83b3b86e0d470e3e685971f 100644 (file)
@@ -139,7 +139,6 @@ nfp-use-correct-macro-for-lengthselect-in-bar-config.patch
 nfp-flower-prevent-re-adding-mac-index-for-bonded-port.patch
 wifi-cfg80211-fix-wiphy-delayed-work-queueing.patch
 wifi-mac80211-reload-info-pointer-in-ieee80211_tx_dequeue.patch
-exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
 irqchip-irq-brcmstb-l2-add-write-memory-barrier-before-exit.patch
 irqchip-gic-v3-its-fix-gicv4.1-vpe-affinity-update.patch
 zonefs-improve-error-handling.patch
diff --git a/queue-6.6/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch b/queue-6.6/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
deleted file mode 100644 (file)
index 61e0a00..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-From c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 Mon Sep 17 00:00:00 2001
-From: Oleg Nesterov <oleg@redhat.com>
-Date: Tue, 23 Jan 2024 16:34:00 +0100
-Subject: exit: wait_task_zombie: kill the no longer necessary spin_lock_irq(siglock)
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-commit c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 upstream.
-
-After the recent changes nobody use siglock to read the values protected
-by stats_lock, we can kill spin_lock_irq(&current->sighand->siglock) and
-update the comment.
-
-With this patch only __exit_signal() and thread_group_start_cputime() take
-stats_lock under siglock.
-
-Link: https://lkml.kernel.org/r/20240123153359.GA21866@redhat.com
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
-Cc: Eric W. Biederman <ebiederm@xmission.com>
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/exit.c |   10 +++-------
- 1 file changed, 3 insertions(+), 7 deletions(-)
-
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -1148,17 +1148,14 @@ static int wait_task_zombie(struct wait_
-                * and nobody can change them.
-                *
-                * psig->stats_lock also protects us from our sub-threads
--               * which can reap other children at the same time. Until
--               * we change k_getrusage()-like users to rely on this lock
--               * we have to take ->siglock as well.
-+               * which can reap other children at the same time.
-                *
-                * We use thread_group_cputime_adjusted() to get times for
-                * the thread group, which consolidates times for all threads
-                * in the group including the group leader.
-                */
-               thread_group_cputime_adjusted(p, &tgutime, &tgstime);
--              spin_lock_irq(&current->sighand->siglock);
--              write_seqlock(&psig->stats_lock);
-+              write_seqlock_irq(&psig->stats_lock);
-               psig->cutime += tgutime + sig->cutime;
-               psig->cstime += tgstime + sig->cstime;
-               psig->cgtime += task_gtime(p) + sig->gtime + sig->cgtime;
-@@ -1181,8 +1178,7 @@ static int wait_task_zombie(struct wait_
-                       psig->cmaxrss = maxrss;
-               task_io_accounting_add(&psig->ioac, &p->ioac);
-               task_io_accounting_add(&psig->ioac, &sig->ioac);
--              write_sequnlock(&psig->stats_lock);
--              spin_unlock_irq(&current->sighand->siglock);
-+              write_sequnlock_irq(&psig->stats_lock);
-       }
-       if (wo->wo_rusage)
index 9e793f32a4c57dca85b5f9a7c54918e728f281b6..5f9e23641d037e3126893e167744164f097e199f 100644 (file)
@@ -207,7 +207,6 @@ wifi-iwlwifi-fix-double-free-bug.patch
 wifi-cfg80211-fix-wiphy-delayed-work-queueing.patch
 wifi-mac80211-reload-info-pointer-in-ieee80211_tx_dequeue.patch
 wifi-iwlwifi-mvm-fix-a-crash-when-we-run-out-of-stations.patch
-exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
 irqchip-irq-brcmstb-l2-add-write-memory-barrier-before-exit.patch
 irqchip-gic-v3-its-restore-quirk-probing-for-acpi-based-systems.patch
 irqchip-gic-v3-its-fix-gicv4.1-vpe-affinity-update.patch
diff --git a/queue-6.7/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch b/queue-6.7/exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
deleted file mode 100644 (file)
index 51596fe..0000000
+++ /dev/null
@@ -1,59 +0,0 @@
-From c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 Mon Sep 17 00:00:00 2001
-From: Oleg Nesterov <oleg@redhat.com>
-Date: Tue, 23 Jan 2024 16:34:00 +0100
-Subject: exit: wait_task_zombie: kill the no longer necessary spin_lock_irq(siglock)
-
-From: Oleg Nesterov <oleg@redhat.com>
-
-commit c1be35a16b2f1fe21f4f26f9de030ad6eaaf6a25 upstream.
-
-After the recent changes nobody use siglock to read the values protected
-by stats_lock, we can kill spin_lock_irq(&current->sighand->siglock) and
-update the comment.
-
-With this patch only __exit_signal() and thread_group_start_cputime() take
-stats_lock under siglock.
-
-Link: https://lkml.kernel.org/r/20240123153359.GA21866@redhat.com
-Signed-off-by: Oleg Nesterov <oleg@redhat.com>
-Signed-off-by: Dylan Hatch <dylanbhatch@google.com>
-Cc: Eric W. Biederman <ebiederm@xmission.com>
-Cc: <stable@vger.kernel.org>
-Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- kernel/exit.c |   10 +++-------
- 1 file changed, 3 insertions(+), 7 deletions(-)
-
---- a/kernel/exit.c
-+++ b/kernel/exit.c
-@@ -1125,17 +1125,14 @@ static int wait_task_zombie(struct wait_
-                * and nobody can change them.
-                *
-                * psig->stats_lock also protects us from our sub-threads
--               * which can reap other children at the same time. Until
--               * we change k_getrusage()-like users to rely on this lock
--               * we have to take ->siglock as well.
-+               * which can reap other children at the same time.
-                *
-                * We use thread_group_cputime_adjusted() to get times for
-                * the thread group, which consolidates times for all threads
-                * in the group including the group leader.
-                */
-               thread_group_cputime_adjusted(p, &tgutime, &tgstime);
--              spin_lock_irq(&current->sighand->siglock);
--              write_seqlock(&psig->stats_lock);
-+              write_seqlock_irq(&psig->stats_lock);
-               psig->cutime += tgutime + sig->cutime;
-               psig->cstime += tgstime + sig->cstime;
-               psig->cgtime += task_gtime(p) + sig->gtime + sig->cgtime;
-@@ -1158,8 +1155,7 @@ static int wait_task_zombie(struct wait_
-                       psig->cmaxrss = maxrss;
-               task_io_accounting_add(&psig->ioac, &p->ioac);
-               task_io_accounting_add(&psig->ioac, &sig->ioac);
--              write_sequnlock(&psig->stats_lock);
--              spin_unlock_irq(&current->sighand->siglock);
-+              write_sequnlock_irq(&psig->stats_lock);
-       }
-       if (wo->wo_rusage)
index 5427ff679d8ccfa708971e4dddb95c0b6ebea4a6..c9a6a4976dc532556435599ee89c86695ee8a691 100644 (file)
@@ -254,7 +254,6 @@ wifi-cfg80211-fix-wiphy-delayed-work-queueing.patch
 wifi-mac80211-reload-info-pointer-in-ieee80211_tx_dequeue.patch
 wifi-iwlwifi-mvm-fix-a-crash-when-we-run-out-of-stations.patch
 pci-dwc-fix-a-64bit-bug-in-dw_pcie_ep_raise_msix_irq.patch
-exit-wait_task_zombie-kill-the-no-longer-necessary-spin_lock_irq-siglock.patch
 irqchip-irq-brcmstb-l2-add-write-memory-barrier-before-exit.patch
 irqchip-gic-v3-its-restore-quirk-probing-for-acpi-based-systems.patch
 irqchip-gic-v3-its-fix-gicv4.1-vpe-affinity-update.patch