All of lore.kernel.org
 help / color / mirror / Atom feed
From: Oleg Nesterov <oleg@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Jonathan Corbet <corbet@lwn.net>, Martin Bammer <mrb74@gmx.at>,
	Jeff Garzik <jgarzik@pobox.com>,
	Kumar Gala <galak@kernel.crashing.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Adrian Bunk <bunk@kernel.org>,
	Natalie Protasevich <protasnb@gmail.com>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Linux PM List <linux-pm@lists.linux-foundation.org>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	Linux Wireless List <linux-wireless@vger.kernel.org>,
	DRI <dri-devel@lists.sourceforge.net>
Subject: Re: 2.6.30-rc6: Reported regressions from 2.6.29
Date: Mon, 18 May 2009 17:45:50 +0200	[thread overview]
Message-ID: <20090518154550.GB22133@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.01.0905180819130.3301@localhost.localdomain>

On 05/18, Linus Torvalds wrote:
>
> On Mon, 18 May 2009, Ingo Molnar wrote:
> >
> > Btw., why did the patch (and the revert) make any difference to the
> > test? Timing differences look improbable.
>
> It's the change from
>
> 	!signal_group_exit(signal)
>
> to
>
> 	!sig_kernel_only(signr)
>
> and quite frankly, I still don't see the point.

Previously,

	!signal_group_exit(signal)

meant: we do not know what should we do, let's ignore this signal.
Unless the multithreaded init does exec, in this case we should
respect SIGKILL.

With the recent changes, sig_kernel_only() means: we already checked
we should handle SIGKILL/SIGSTOP when this signal was queued.

> The comment seems to be wrong too:
>
>     If SIGSTOP/SIGKILL originate from a descendant of container-init they are
>     never queued (i.e dropped in sig_ignored() in an earler patch).
>
>     If SIGSTOP/SIGKILL originate from parent namespace, the signal is queued
>     and container-init processes the signal.
>
> since the bug was that the SIGSTOP (from within the same container) was
> _not_ ignored like the comment says.

Yes, the changelog could be better because it ignores ptrace issues. But
this was discussed,

From http://marc.info/?t=123222433100001

	Yes we should handle SIGSTOP fine if it sent from the parent namespace.

	Also. Currently it is possible to ptrace the global init, but even
	ptracer can't stop it (but ptrace_stop() works). With these patches
	ptracer can stop init.

	I forgot to mention this behaviour change, imho this side-effect
	is good.

So, at least this change is not "by accident".

Oleg.


WARNING: multiple messages have this Message-ID (diff)
From: Oleg Nesterov <oleg@redhat.com>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@elte.hu>, "Rafael J. Wysocki" <rjw@sisk.pl>,
	Jonathan Corbet <corbet@lwn.net>, Martin Bammer <mrb74@gmx.at>,
	Jeff Garzik <jgarzik@pobox.com>,
	Kumar Gala <galak@kernel.crashing.org>,
	Andrew Morton <akpm@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Adrian Bunk <bunk@kernel.org>,
	Natalie Protasevich <protasnb@gmail.com>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Network Development <netdev@vger.kernel.org>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Linux PM List <linux-pm@lists.linux-foundation.org>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	Linux Wireless List <linux-wireless@vger.kernel.org>,
	DRI <dri-devel@lists.sourceforge.net>
Subject: Re: 2.6.30-rc6: Reported regressions from 2.6.29
Date: Mon, 18 May 2009 17:45:50 +0200	[thread overview]
Message-ID: <20090518154550.GB22133@redhat.com> (raw)
In-Reply-To: <alpine.LFD.2.01.0905180819130.3301@localhost.localdomain>

On 05/18, Linus Torvalds wrote:
>
> On Mon, 18 May 2009, Ingo Molnar wrote:
> >
> > Btw., why did the patch (and the revert) make any difference to the
> > test? Timing differences look improbable.
>
> It's the change from
>
> 	!signal_group_exit(signal)
>
> to
>
> 	!sig_kernel_only(signr)
>
> and quite frankly, I still don't see the point.

Previously,

	!signal_group_exit(signal)

meant: we do not know what should we do, let's ignore this signal.
Unless the multithreaded init does exec, in this case we should
respect SIGKILL.

With the recent changes, sig_kernel_only() means: we already checked
we should handle SIGKILL/SIGSTOP when this signal was queued.

> The comment seems to be wrong too:
>
>     If SIGSTOP/SIGKILL originate from a descendant of container-init they are
>     never queued (i.e dropped in sig_ignored() in an earler patch).
>
>     If SIGSTOP/SIGKILL originate from parent namespace, the signal is queued
>     and container-init processes the signal.
>
> since the bug was that the SIGSTOP (from within the same container) was
> _not_ ignored like the comment says.

Yes, the changelog could be better because it ignores ptrace issues. But
this was discussed,

>From http://marc.info/?t=123222433100001

	Yes we should handle SIGSTOP fine if it sent from the parent namespace.

	Also. Currently it is possible to ptrace the global init, but even
	ptracer can't stop it (but ptrace_stop() works). With these patches
	ptracer can stop init.

	I forgot to mention this behaviour change, imho this side-effect
	is good.

So, at least this change is not "by accident".

Oleg.


  reply	other threads:[~2009-05-18 15:45 UTC|newest]

Thread overview: 171+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-16 19:14 2.6.30-rc6: Reported regressions from 2.6.29 Rafael J. Wysocki
2009-05-16 19:14 ` Rafael J. Wysocki
2009-05-16 19:14 ` [Bug #13068] Lockdep warining in inotify_dev_queue_event Rafael J. Wysocki
2009-05-16 19:14   ` Rafael J. Wysocki
2009-05-17  6:35   ` Ingo Molnar
2009-05-17  6:35     ` Ingo Molnar
     [not found]     ` <20090517063530.GB1583-X9Un+BFzKDI@public.gmane.org>
2009-05-17  8:13       ` Sachin Sant
2009-05-17  8:13         ` Sachin Sant
     [not found]         ` <4A0FC736.7050301-xthvdsQ13ZrQT0dZR+AlfA@public.gmane.org>
2009-05-17 10:25           ` Rafael J. Wysocki
2009-05-17 10:25             ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13069] regression in 2.6.29-git3 on SH/Dreamcast Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13116] Can't boot with nosmp Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13109] High latency on /sys/class/thermal Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13107] LTP 20080131 causes defunct processes w/2.6.30-rc1 Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-17 19:13   ` Linus Torvalds
2009-05-17 19:13     ` Linus Torvalds
     [not found]     ` <alpine.LFD.2.01.0905171206330.3301-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-05-18 14:41       ` Oleg Nesterov
2009-05-18 14:41         ` Oleg Nesterov
     [not found]         ` <20090518144132.GA18607-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2009-05-18 17:54           ` Sukadev Bhattiprolu
2009-05-18 17:54             ` Sukadev Bhattiprolu
2009-05-19  9:16           ` Ingo Molnar
2009-05-19  9:16             ` Ingo Molnar
     [not found]             ` <20090519091631.GB31404-X9Un+BFzKDI@public.gmane.org>
2009-05-19 13:32               ` Oleg Nesterov
2009-05-19 13:32                 ` Oleg Nesterov
2009-05-16 19:20 ` [Bug #13118] iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-17  6:06   ` Jeff Chua
2009-05-17  6:06     ` Jeff Chua
     [not found]     ` <b6a2187b0905162306u17c07753w8af53b6ed807cf1d-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-17 10:26       ` Rafael J. Wysocki
2009-05-17 10:26         ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13122] reiserfs_delete_xattrs: Couldn't delete all xattrs (-13) Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-17 19:16   ` Linus Torvalds
2009-05-17 19:16     ` Linus Torvalds
     [not found]     ` <alpine.LFD.2.01.0905171213160.3301-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-05-17 20:36       ` Rafael J. Wysocki
2009-05-17 20:36         ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13119] Trouble with make-install from a NFS mount Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13125] active uvcvideo breaks over suspend Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13156] keyboard backlight brightness up/down keys doesn't work Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13148] resume after suspend-to-ram broken on Sony Vaio VGN-SR19VN when sony-laptop driver present Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13126] BUG: MAX_LOCKDEP_ENTRIES too low! when mounting rootfs Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13180] 2.6.30-rc2: WARNING at i915_gem.c for i915_gem_idle Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13171] 2.6.30-rc2 + xorg-intel-2.7.0 + DRM_I915_KMS = corruption Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13179] CD-R: wodim intermittent failures Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 22:51   ` Robert Hancock
2009-05-16 22:51     ` Robert Hancock
2009-05-16 19:20 ` [Bug #13177] 2.6.30-rc2-git7 build problem Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-18 14:05   ` Martin Knoblauch
2009-05-18 14:05     ` Martin Knoblauch
2009-05-16 19:20 ` [Bug #13188] horizontal strips of the screen frozen Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-18 16:35   ` Justin Madru
2009-05-18 16:35     ` Justin Madru
     [not found]     ` <4A118E36.40204-u1xxEuL7cY4AvxtiuMwx3w@public.gmane.org>
2009-05-18 18:03       ` Rafael J. Wysocki
2009-05-18 18:03         ` Rafael J. Wysocki
2009-05-18 18:04       ` Rafael J. Wysocki
2009-05-18 18:04         ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13245] possible circular locking dependency detected Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-17  3:22   ` Ming Lei
     [not found]     ` <d82e647a0905162022k7be627f1s933a84640562f749-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2009-05-17 10:26       ` Rafael J. Wysocki
2009-05-17 10:26         ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13293] Kernel BUG under network load with gianfar Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13250] Side channel of Intel HDA chip doesn't work anymore, did work with 2.6.29 Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13285] INTELFB: Colors display incorrectly Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13294] i915: drm: xorg leaks drm objects massively Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13297] kernel panic - not syncing : fatel exception in interupt Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13296] Lockdep violation at cleanup_workqueue_thread during suspend Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13298] modprobe ipmi_si hangs under 2.6.30-rc5 Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13306] hibernate slow on _second_ run Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13319] Page allocation failures with b43 and p54usb Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 23:36   ` Andrew Morton
2009-05-16 23:36     ` Andrew Morton
     [not found]     ` <20090516163610.8a012268.akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b@public.gmane.org>
2009-05-17 23:16       ` Larry Finger
2009-05-17 23:16         ` Larry Finger
2009-05-18  6:31       ` Pekka Enberg
2009-05-18  6:31         ` Pekka Enberg
2009-05-21 13:21   ` Larry Finger
2009-05-21 13:21     ` Larry Finger
2009-05-16 19:20 ` [Bug #13318] AGP doesn't work anymore on nforce2 Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13324] panic when loading oprofile Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13321] kernel crash with NULL pointer when boot Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13323] 2.6.30-rc deadline scheduler performance regression for iozone over NFS Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13326] Null pointer dereference in rtc-cmos driver Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13327] Regression: 2.6.30-rc5 and rt2x00 / rt2500pci Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13325] 2.6.30-rc kills my box hard - and lockdep chains Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13328] b44: eth0: BUG! Timeout waiting for bit 00000002 of register 42c to clear Rafael J. Wysocki
2009-05-16 19:20 ` [Bug #13329] cifs_close: NULL pointer dereference Rafael J. Wysocki
2009-05-16 19:20   ` Rafael J. Wysocki
2009-05-16 23:44 ` 2.6.30-rc6: Reported regressions from 2.6.29 Linus Torvalds
2009-05-17  0:01 ` Linus Torvalds
2009-05-17  0:15   ` Kay Sievers
2009-05-17  1:01     ` Kay Sievers
2009-05-17  2:13       ` Linus Torvalds
2009-05-17 15:33         ` Greg KH
2009-05-18  3:48         ` Greg KH
2009-05-17  6:32       ` Ingo Molnar
2009-05-17  0:32   ` Ozan Çağlayan
2009-05-17  2:06     ` Linus Torvalds
2009-05-17  7:33 ` Ingo Molnar
2009-05-17  7:33   ` Ingo Molnar
2009-05-17 10:34   ` Rafael J. Wysocki
     [not found]   ` <20090517073327.GC1583-X9Un+BFzKDI@public.gmane.org>
2009-05-17 10:34     ` Rafael J. Wysocki
2009-05-17 10:34       ` Rafael J. Wysocki
     [not found]       ` <200905171234.23436.rjw-KKrjLPT3xs0@public.gmane.org>
2009-05-17 12:56         ` Stefan Richter
2009-05-17 12:56           ` Stefan Richter
2009-05-17 13:59           ` Jeff Mahoney
2009-05-17 13:32     ` Frederic Weisbecker
2009-05-17 13:32       ` Frederic Weisbecker
2009-05-17 16:19       ` Borislav Petkov
2009-05-17 16:19         ` Borislav Petkov
     [not found]         ` <20090517161916.GA2976-f9CnO7I+Q6zU6FkGJEIX5A@public.gmane.org>
2009-05-18 16:35           ` Bartlomiej Zolnierkiewicz
2009-05-18 16:35             ` Bartlomiej Zolnierkiewicz
2009-05-19  6:05             ` Borislav Petkov
     [not found]             ` <200905181835.28803.bzolnier-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2009-05-20  1:14               ` Frederic Weisbecker
2009-05-20  1:14                 ` Frederic Weisbecker
2009-05-18 14:57   ` Oleg Nesterov
2009-05-18 14:57     ` Oleg Nesterov
2009-05-18 15:11     ` Ingo Molnar
2009-05-18 15:11       ` Ingo Molnar
2009-05-18 15:31       ` Oleg Nesterov
2009-05-18 15:31         ` Oleg Nesterov
2009-05-18 15:32       ` Linus Torvalds
2009-05-18 15:32         ` Linus Torvalds
2009-05-18 15:45         ` Oleg Nesterov [this message]
2009-05-18 15:45           ` Oleg Nesterov
2009-05-18 15:45         ` Oleg Nesterov
2009-05-17  7:33 ` Ingo Molnar
2009-05-17 17:55 ` Alex Bennee
2009-05-17 17:55   ` Alex Bennee
2009-05-22 16:40 ` Linus Torvalds
2009-05-22 16:40   ` Linus Torvalds
2009-05-23  0:10   ` Rafael J. Wysocki
     [not found]   ` <alpine.LFD.2.01.0905220926150.3555-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2009-05-23  0:10     ` Rafael J. Wysocki
2009-05-23  0:10       ` Rafael J. Wysocki
2009-05-25 20:24 ` Frans Pop
2009-05-25 20:24   ` Frans Pop
     [not found]   ` <200905252224.37012.elendil-EIBgga6/0yRmR6Xm/wNWPw@public.gmane.org>
2009-05-25 23:02     ` Rafael J. Wysocki
2009-05-25 23:02       ` Rafael J. Wysocki
2009-05-26 15:30       ` Frans Pop
2009-05-26 18:48         ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2009-05-16 19:14 Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090518154550.GB22133@redhat.com \
    --to=oleg@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=bunk@kernel.org \
    --cc=corbet@lwn.net \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=galak@kernel.crashing.org \
    --cc=jgarzik@pobox.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pm@lists.linux-foundation.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=linux-wireless@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=mrb74@gmx.at \
    --cc=netdev@vger.kernel.org \
    --cc=protasnb@gmail.com \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.