All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Linus Torvalds <torvalds@linux-foundation.org>,
	"Paul E. McKenney" <paulmck@us.ibm.com>,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Thomas Gleixner <tglx@linutronix.de>
Cc: Jens Axboe <axboe@kernel.dk>,
	DRI <dri-devel@lists.sourceforge.net>,
	Linux SCSI List <linux-scsi@vger.kernel.org>,
	Patrick McHardy <kaber@trash.net>,
	Network Development <netdev@vger.kernel.org>,
	Linux Wireless List <linux-wireless@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Jesse Barnes <jbarnes@virtuousgeek.org>,
	"David S. Miller" <davem@davemloft.net>,
	Linux ACPI <linux-acpi@vger.kernel.org>,
	Al Viro <viro@zeniv.linux.org.uk>,
	Frederic Weisbecker <fweisbec@gmail.com>,
	Dave Airlie <airlied@redhat.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	Shawn Starr <shawn.starr@rogers.com>,
	Linux PM List <linux-pm@lists.linux-foundation.org>,
	Maciej Rutecki <maciej.rutecki@gmail.c>
Subject: Re: 2.6.35-rc4-git3: Reported regressions from 2.6.34
Date: Fri, 9 Jul 2010 09:11:31 +0200	[thread overview]
Message-ID: <20100709071131.GB10743__24898.8798623488$1278659614$gmane$org@elte.hu> (raw)
In-Reply-To: <AANLkTiknnzWyVpqnPCpyiEVHLgkewd0zaGzLInABRe2G@mail.gmail.com>


* Linus Torvalds <torvalds@linux-foundation.org> wrote:

> > Bug-Entry ? ? ? : http://bugzilla.kernel.org/show_bug.cgi?id=16346
> > Subject ? ? ? ? : 2.6.35-rc3-git8 - include/linux/fdtable.h:88 invoked rcu_dereference_check() without protection!
> > Submitter ? ? ? : Miles Lane <miles.lane@gmail.com>
> > Date ? ? ? ? ? ?: 2010-07-04 22:04 (5 days old)
> > Message-ID ? ? ?: <AANLkTinof0k28rk4rMr66aubxcRL2rFa5ZEArj1lqD3o@mail.gmail.com>
> > References ? ? ?: http://marc.info/?l=linux-kernel&m=127828107815930&w=2
> 
> I'm not entirely sure if these RCU proving things should count as 
> regressions.

Generally not - and we've delayed at least one more complex (cgroups) fix to 
v2.6.36 because the patch itself was riskier than the warning.

Still most of the warning fixes turned out to be simple, so we merged the 
very-low-risk ones and right now we seem to be on top of them.

But in general the default rule is that we delay these fixes to v2.6.36.

> Sure, the option to enable RCU proving is new, but the things it reports 
> about generally are not new - and they are usually not even bugs in the 
> sense that they necessarily cause any real problems.
> 
> That particular one is in the single-thread optimizated case for fget_light, ie
> 
>         if (likely((atomic_read(&files->count) == 1))) {
>                 file = fcheck_files(files, fd);
> 
> where I think it should be entirely safe in all ways without any locking. So 
> I think it's a false positive too.

Yeah, it's a bit like with lockdep (and it's a bit like with compiler warning 
fixes): we had to punch through a large stack of false positives that 
accumulated in the past 10 years.

( Because real bugs eventually get fixed, while false positives always just
  accumulate. So almost by definition we always start with a very assymetric
  collection of warnings and a large stack of false positives. )

Having said that, it appears we got most of the false positives and are 
beginning to be in a more representative equilibrium now. If v2.6.35 isnt 
going to be warning-free then v2.6.36 certainly will be and new warnings will 
have a much higher likelyhood of being real (and new) bugs (not just 
accumulated false-positives).

	Ingo

  parent reply	other threads:[~2010-07-09  7:11 UTC|newest]

Thread overview: 160+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-08 23:33 2.6.35-rc4-git3: Reported regressions from 2.6.34 Rafael J. Wysocki
2010-07-08 23:33 ` Rafael J. Wysocki
2010-07-08 23:33 ` [Bug #16122] 2.6.35-rc1: WARNING at fs/fs-writeback.c:1142 __mark_inode_dirty+0x103/0x170 Rafael J. Wysocki
2010-07-08 23:33   ` Rafael J. Wysocki
2010-07-09  1:19   ` Larry Finger
2010-07-09  1:19     ` Larry Finger
2010-07-09 20:48     ` Rafael J. Wysocki
2010-07-09 20:48       ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16173] After uncompressing the kernel, at boot time, the server hangs Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16175] 2.6.35-rc1 system oom, many processes killed but memory not free Rafael J. Wysocki
2010-07-09  2:53   ` KOSAKI Motohiro
2010-07-09  2:53     ` KOSAKI Motohiro
2010-07-09  7:08     ` Andrew Hendry
2010-07-09  7:08       ` Andrew Hendry
2010-07-09 20:54       ` Rafael J. Wysocki
2010-07-09 20:54         ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16145] Unable to boot unless "notsc" or "clocksource=hpet", or acpi_pad disabling the TSC Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16169] Complain from preemptive debug Rafael J. Wysocki
2010-07-09  6:38   ` Sergey Senozhatsky
2010-07-09  6:38     ` Sergey Senozhatsky
2010-07-09 20:49     ` Rafael J. Wysocki
2010-07-09 20:49       ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16184] Container, X86-64, i386, iptables rule Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16179] 2.6.35-rc2 completely hosed on intel gfx? Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16187] Carrier detection failed in dhcpcd when link is up Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16199] 2.6.35-rc2-git1 - include/linux/cgroup.h:534 invoked rcu_dereference_check() without protection! Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16215] sysfs: cannot create duplicate filename '/class/net/bnep0' Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16205] acpi: freeing invalid memtype bf799000-bf79a000 Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16197] [BUG on 2.6.35-rc2] sysfs: cannot create duplicate filename '/devices/pci0000:00/0000:00:11.0/0000:02:03.0/slot' Rafael J. Wysocki
2010-07-09  0:33   ` Jesse Barnes
2010-07-09 20:52     ` Rafael J. Wysocki
2010-07-09 20:52       ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16201] SIOCGIWFREQ ioctl fails to get frequency info Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16230] inconsistent IN-HARDIRQ-W -> HARDIRQ-ON-W usage: fasync, 2.6.35-rc3 Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16228] BUG/boot failure on Dell Precision T3500 (pci/ahci_stop_engine) Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16221] 2.6.35-rc2-git5 -- [drm:drm_mode_getfb] *ERROR* invalid framebuffer id Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16255] 2.6.35-rc3 deadlocks on semaphore operations Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16232] 2.6.35-rc3 - WARNING:iwl_set_dynamic_key Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16234] [2.6.35-rc3] reboot mutex 'bug' Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16265] Why is kslowd accumulating so much CPU time? Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16256] tpm_tis breaks suspend/hibernate on kernels > 2.6.34 Rafael J. Wysocki
2010-07-09  6:23   ` Helmut Schaa
2010-07-09  6:23     ` Helmut Schaa
2010-07-09 20:55     ` Rafael J. Wysocki
2010-07-09 20:55       ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16257] sysfs changes break hwsim and bnep drivers Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16284] Hitting WARN_ON in hw_breakpoint code Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16288] kernel panic with iwlagn for Intel Wifi Link 5100 Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16278] lvm snapshot causes deadlock in 2.6.35 Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16271] 2.6.35-rc3 regression: IBM Maia system is unbootable [ACPI related?] Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16306] 2.6.35-rc3 BUG: unable to handle kernel NULL pointer dereference at 0000000000000048 cifs_show_options Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-09  0:49   ` Jeff Layton
2010-07-09  0:49     ` Jeff Layton
2010-07-09  1:03     ` Andrew Hendry
2010-07-09  1:03       ` Andrew Hendry
2010-07-09 20:58       ` Rafael J. Wysocki
2010-07-09 20:58         ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16304] i915 - high number of wakeups Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16294] [Q35 bisected] hang at init of i915 driver Rafael J. Wysocki
2010-07-09  0:45   ` Kees Cook
2010-07-09  0:45     ` Kees Cook
2010-07-09 20:56     ` Rafael J. Wysocki
2010-07-09 20:56       ` Rafael J. Wysocki
2010-07-09 21:12       ` Tim Gardner
2010-07-09 21:12         ` Tim Gardner
2010-07-09 21:50         ` Rafael J. Wysocki
2010-07-09 21:50           ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16307] i915 in kernel 2.6.35-rc3, high number of wakeups Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16309] 2.6.35-rc3 oops trying to suspend Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16311] [REGRESSION][SUSPEND] 2.6.35-rcX won't suspend Lenovo W500 laptop Rafael J. Wysocki
2010-07-09  3:00   ` Shawn Starr
2010-07-09 21:01     ` Rafael J. Wysocki
2010-07-09 21:01       ` Rafael J. Wysocki
2010-07-09 22:29       ` Shawn Starr
2010-07-08 23:41 ` [Bug #16312] WARNING: at fs/fs-writeback.c:1127 __mark_inode_dirty Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16310] arm omap invalid module format Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16322] WARNING: at /arch/x86/include/asm/processor.h:1005 read_measured_perf_ctrs+0x5a/0x70() Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16332] Kernel crashes in tty code (tty_open) Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16329] 2.6.35-rc3: Load average climbing to 3+ with no apparent reason: CPU 98% idle, with hardly no I/O Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16333] iwl3945: HARDWARE GONE?? Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16330] Dynamic Debug broken on 2.6.35-rc3? Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16324] Oops while running fs_racer test on a POWER6 box against latest git Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16323] 2.6.35-rc3-git4 - kernel/sched.c:616 invoked rcu_dereference_check() without protection! Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16337] general protection fault: 0000 [#1] SMP Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16334] reiserfs locking (v2) Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16346] 2.6.35-rc3-git8 - include/linux/fdtable.h:88 invoked rcu_dereference_check() without protection! Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-08 23:41 ` [Bug #16353] 2.6.35 regression Rafael J. Wysocki
2010-07-08 23:41   ` Rafael J. Wysocki
2010-07-09  8:50   ` Zeev Tarantov
2010-07-09  8:50     ` Zeev Tarantov
2010-07-09 21:05     ` Rafael J. Wysocki
2010-07-09 21:05       ` Rafael J. Wysocki
2010-07-09  0:16 ` 2.6.35-rc4-git3: Reported regressions from 2.6.34 Sedat Dilek
2010-07-09  0:16 ` Sedat Dilek
2010-07-09  0:16 ` Sedat Dilek
2010-07-09  0:48 ` Andrew Hendry
2010-07-09  0:48 ` Andrew Hendry
2010-07-09  0:48 ` Andrew Hendry
2010-07-09  1:34 ` Linus Torvalds
2010-07-09  1:34 ` Linus Torvalds
2010-07-09  1:34   ` Linus Torvalds
2010-07-09  1:34   ` Linus Torvalds
2010-07-09  2:04   ` Frederic Weisbecker
2010-07-09  2:04   ` Frederic Weisbecker
2010-07-09  2:04     ` Frederic Weisbecker
2010-07-09 21:35     ` Rafael J. Wysocki
2010-07-09 21:35     ` Rafael J. Wysocki
2010-07-09 21:35     ` Rafael J. Wysocki
2010-07-09  2:04   ` Frederic Weisbecker
2010-07-09  2:56   ` Frederic Weisbecker
2010-07-09  2:56   ` Frederic Weisbecker
2010-07-09  2:56   ` Frederic Weisbecker
2010-07-09  3:36   ` Shawn Starr
2010-07-09  3:36   ` Shawn Starr
2010-07-20  0:33     ` Shawn Starr
2010-07-20  0:33       ` Shawn Starr
2010-07-20  1:12       ` Shawn Starr
2010-07-20  1:12         ` Shawn Starr
2010-07-20  2:13         ` Shawn Starr
2010-07-20  2:13           ` Shawn Starr
2010-07-20 15:24           ` Rafael J. Wysocki
2010-07-20 15:24             ` Rafael J. Wysocki
2010-07-09  3:36   ` Shawn Starr
2010-07-09  4:34   ` David Miller
2010-07-09  5:28     ` Eric Dumazet
2010-07-09  6:20       ` David Miller
2010-07-09  7:11   ` Ingo Molnar
2010-07-09  7:11   ` Ingo Molnar [this message]
2010-07-09  7:11   ` Ingo Molnar
2010-07-09  7:11     ` Ingo Molnar
2010-07-09 15:12   ` Jesse Barnes
2010-07-09 15:12     ` Jesse Barnes
2010-07-09 15:41     ` Enrico Bandiello
2010-07-09 17:01       ` Enrico Bandiello
2010-07-09 16:04     ` Norbert Preining
2010-07-09 21:42       ` Rafael J. Wysocki
2010-07-09 21:42       ` Rafael J. Wysocki
2010-07-09 16:04     ` Norbert Preining
2010-07-09 15:12   ` Jesse Barnes
2010-07-09 15:12   ` Jesse Barnes
2010-07-09 21:33   ` Rafael J. Wysocki
2010-07-09 21:33   ` Rafael J. Wysocki
2010-07-09 21:33   ` Rafael J. Wysocki
2010-07-09 21:33     ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2010-07-08 23:33 Rafael J. Wysocki
2010-07-08 23:33 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='20100709071131.GB10743__24898.8798623488$1278659614$gmane$org@elte.hu' \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=airlied@redhat.com \
    --cc=akpm@linux-foundation.org \
    --cc=axboe@kernel.dk \
    --cc=davem@davemloft.net \
    --cc=dri-devel@lists.sourceforge.net \
    --cc=fweisbec@gmail.com \
    --cc=jbarnes@virtuousgeek.org \
    --cc=kaber@trash.net \
    --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=maciej.rutecki@gmail.c \
    --cc=netdev@vger.kernel.org \
    --cc=paulmck@us.ibm.com \
    --cc=shawn.starr@rogers.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    --cc=viro@zeniv.linux.org.uk \
    /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.