public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Ellerman <michael@ellerman.id.au>
To: Christian Kujau <lists@nerdbynature.de>
Cc: "Rafael J. Wysocki" <rjw@sisk.pl>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linuxppc-dev@ozlabs.org, schwab@linux-m68k.org,
	Kernel Testers List <kernel-testers@vger.kernel.org>,
	adobriyan@gmail.com, Maciej Rutecki <maciej.rutecki@gmail.com>
Subject: Re: [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316
Date: Wed, 21 Apr 2010 10:25:27 +1000	[thread overview]
Message-ID: <1271809527.13262.10.camel@concordia> (raw)
In-Reply-To: <alpine.DEB.2.01.1004201104170.13016@bogon.housecafe.de>

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

On Tue, 2010-04-20 at 11:15 -0700, Christian Kujau wrote:
> On Tue, 20 Apr 2010 at 22:18, Michael Ellerman wrote:
> > Try this 100% unbuilt, 100% untested patch.
> 
> I added GFP_KERNEL to kstrdup to make the compile error go away:
> 
> fs/proc/proc_devtree.c: In function ‘unslash_name’:
> fs/proc/proc_devtree.c:183: error: too few arguments to function ‘kstrdup’
> make[2]: *** [fs/proc/proc_devtree.o] Error 1
> make[1]: *** [fs/proc] Error 2
> make: *** [fs] Error 2

Yeah oops, told you I hadn't built it.

> And now 2.6.34-rc5 compiles and boots without the warning. Thanks! 
> New dmesg and /proc/device-tree on:
> 
>   http://nerdbynature.de/bits/2.6.34-rc1/xlate_proc_name/

Cool, and we see:

./uni-n@f8000000/i2c@f8001000/i2c-bus@1/fan@5c/pulses_rev

Which is the one that needed fixing.

> Alexey mentioned that this is "wasteful" - does it make the kernel slower? 
> I have not done any performance tests, but I'd rather stick with the 
> warning than make this Powerbook G4 any more slower :-\

Maybe a little. It has to check every string to see if it contains a
"/". But then you save the cost of taking an exeception for the WARN,
which might make up the difference. But it's a one time fixup at boot,
so it's not going to be noticeable.

cheers

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

  parent reply	other threads:[~2010-04-21  0:25 UTC|newest]

Thread overview: 110+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-20  3:15 2.6.34-rc5: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-04-20  0:57 ` Andrew Morton
2010-04-20  4:13   ` Rafael J. Wysocki
2010-04-20  3:16 ` [Bug #15505] No more b43 wireless interface since 2.6.34-rc1 Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-04-20  6:45   ` Christian Kujau
2010-04-20 12:18     ` Michael Ellerman
2010-04-20 18:15       ` Christian Kujau
2010-04-20 20:53         ` Andreas Schwab
2010-04-21  0:25         ` Michael Ellerman [this message]
2010-04-21 15:55       ` Alexey Dobriyan
2010-04-21  0:21         ` Michael Ellerman
2010-04-21  4:57           ` Rafael J. Wysocki
2010-04-30  2:44   ` Stefan Lippers-Hollmann
2010-04-20  3:19 ` [Bug #15551] WARNING: at net/mac80211/work.c:811 ieee80211_work_work+0x7f/0xde8 [mac80211]() Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15553] Screen backlight doesn't come back on after lid was closed (GM45) Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15664] Graphics hang and kernel backtrace when starting Azureus with Compiz enabled Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15625] BUG: 2.6.34-rc1, RIP is (null) Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung Rafael J. Wysocki
2010-04-20 19:33   ` Maciej Rutecki
2010-04-21  4:59     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15590] 2.6.34-rc1: regression: ^Z no longer stops sound Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15661] PROBLEM: crash on halt with 2.6.34-0.16.rc2.git0.fc14.x86_64 Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15601] [BUG] SLOB breaks Crypto Rafael J. Wysocki
2010-04-20  6:40   ` Pekka Enberg
2010-04-20  6:42     ` Matt Mackall
2010-04-20  3:19 ` [Bug #15610] fsck leads to swapper - BUG: unable to handle kernel NULL pointer dereference & panic Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15611] Failure with the 2.6.34-rc1 kernel Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15698] Freeze on power-off / suspend to ram Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15669] INFO: suspicious rcu_dereference_check() Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15668] start_kernel(): bug: interrupts were enabled early Rafael J. Wysocki
2010-04-20 14:11   ` Rabin Vincent
2010-04-21  5:04     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15672] KVM bug, git bisected Rafael J. Wysocki
2010-04-20 21:11   ` Rik van Riel
2010-04-21  3:36     ` Rik van Riel
2010-04-21  5:02       ` Rafael J. Wysocki
2010-04-21  6:20         ` Borislav Petkov
2010-04-21  8:45           ` Peter Zijlstra
2010-04-21 15:57             ` Rafael J. Wysocki
2010-04-21 16:03               ` Peter Zijlstra
2010-04-20  3:19 ` [Bug #15671] intel graphic card hanging (Hangcheck timer elapsed... GPU hung) Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15673] 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
2010-04-22 15:45   ` Christoph Lameter
2010-04-22 17:26     ` Pekka Enberg
2010-04-23 19:18       ` Pekka J Enberg
2010-04-26  6:59         ` Zhang, Yanmin
2010-04-26  7:22           ` Pekka Enberg
2010-04-26 10:02             ` Tejun Heo
2010-04-26 10:09               ` Pekka Enberg
2010-04-26 10:53                 ` Tejun Heo
2010-04-26 14:17                   ` Pekka J Enberg
2010-04-26 14:33                     ` Tejun Heo
2010-04-27  1:41                 ` Zhang, Yanmin
2010-04-20  3:19 ` [Bug #15712] [regression] 2.6.34-rc1 to -rc3 on zaurus: no longer boots Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c Rafael J. Wysocki
2010-04-26 12:51   ` Sergey Senozhatsky
2010-04-26 19:24     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15711] 2.6.34-rc3, BUG at mm/slab.c:2989 Rafael J. Wysocki
2010-04-20  9:00   ` Heinz Diehl
2010-04-20  3:19 ` [Bug #15730] Ugly rmap NULL ptr deref oopsie on hibernate (was Linux 2.6.34-rc3) Rafael J. Wysocki
2010-04-20  5:27   ` Borislav Petkov
2010-04-21  5:09     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15717] bluetooth oops Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15719] virtio_net causing kernel BUG when running under VirtualBox Rafael J. Wysocki
2010-04-23 14:10   ` Thomas Müller
2010-04-23 16:29     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15744] [2.6.34-rc1 REGRESSION] ahci 0000:00:1f.2: controller reset failed (0xffffffff) Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15729] BUG: physmap modprobe & rmmod Rafael J. Wysocki
2010-04-20  4:53   ` Wolfram Sang
2010-04-20  4:58     ` Randy Dunlap
2010-04-20  3:19 ` [Bug #15790] Meta-Bug: Regressions Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15788] external usb sound card doesn't work after resume Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15774] 2.6.34-rc3: eth0 (8139too): transmit queue 0 timed out Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15768] Incorrectly calculated free blocks result in ENOSPC from writepage Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15805] reiserfs locking Rafael J. Wysocki
2010-04-22  2:52   ` Frederic Weisbecker
2010-04-20  3:19 ` [Bug #15795] 2.6.34-rc4 : OOPS in unmap_vma Rafael J. Wysocki
2010-04-20 20:24   ` Parag Warudkar
2010-04-21  5:12     ` Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15796] [REGRESSION bisected] Sound goes too fast due to commit 7b3a177b0 Rafael J. Wysocki
2010-04-20  3:19 ` [Bug #15812] utsname.domainname not set in x86_32 processes (causing "YPBINDPROC_DOMAIN: domain not bound" errors) Rafael J. Wysocki
2010-04-20 13:56 ` 2.6.34-rc5: Reported regressions from 2.6.33 Nick Bowler
2010-04-21  5:15   ` Rafael J. Wysocki
2010-04-21  8:57     ` Jerome Glisse
2010-04-21 16:57       ` Nick Bowler
2010-04-23 10:23         ` Jerome Glisse
2010-04-23 15:31           ` Nick Bowler
2010-04-21  2:02 ` Ben Gamari
2010-04-21  5:14   ` Rafael J. Wysocki
  -- strict thread matches above, loose matches on Subject: below --
2010-06-20 22:32 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-06-20 22:32 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-06-21 22:19   ` Stefan Lippers-Hollmann
2010-06-21 22:43     ` Rafael J. Wysocki
2010-06-26  1:04   ` Christian Kujau
2010-06-13 14:45 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-06-13 14:45 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-06-13 15:22   ` Stefan Lippers-Hollmann
2010-06-13 18:10     ` Christian Kujau
2010-06-13 19:57       ` Grant Likely
2010-06-14  6:39         ` Alexey Dobriyan
2010-06-14 12:27           ` Jindrich Makovicka
2010-06-14 15:42           ` Grant Likely
2010-05-09 21:13 2.6.34-rc6-git6: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-05-09 21:17 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-05-09 22:27   ` Christian Kujau
2010-05-09 23:34     ` Michael Ellerman
2010-05-04 20:49 2.6.34-rc6-git2: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-05-04 21:21 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-05-05  0:18   ` Stefan Lippers-Hollmann
2010-05-05  0:23     ` Rafael J. Wysocki
2010-04-07 21:08 2.6.34-rc3-git6: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-04-07 21:13 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-03-21 19:58 2.6.34-rc2: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-03-21 20:13 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 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=1271809527.13262.10.camel@concordia \
    --to=michael@ellerman.id.au \
    --cc=adobriyan@gmail.com \
    --cc=kernel-testers@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=lists@nerdbynature.de \
    --cc=maciej.rutecki@gmail.com \
    --cc=rjw@sisk.pl \
    --cc=schwab@linux-m68k.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox