All of lore.kernel.org
 help / color / mirror / Atom feed
From: Olivier NICOLAS <olivn@trollprod.org>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] procfs bug exposed by cdev changes
Date: Wed, 28 May 2003 20:06:56 +0200	[thread overview]
Message-ID: <3ED4FAC0.6090303@trollprod.org> (raw)

 >       fs/inode.c assumes that any ->delete_inode() will call 
 >clear_inode().
 >procfs instance doesn't. It had passed unpunished for a while; cdev 
 >changes
 >combined with ALSA creating character devices in procfs made it fatal.
 >
 >        Patch follows. It had fixed ALSA-triggered memory corruption 
 >here -
 >what happens in vanilla 2.5.70 is that clear_inode() is not called when
 >procfs character device inodes are freed. That leaves a freed inode on
 >a cyclic list, with obvious unpleasantness following when we try to 
 >traverse
 >it (e.g. when unregistering a device).
 >
 >        Please, apply. Folks who'd seen oopsen/memory corruption after
 >ALSA access - please, check if that fixes all problems.


modprobe snd-intel8x0
rmmod snd-intel8x0

ALSA works for me,

Thanks
Olivier




             reply	other threads:[~2003-05-28 17:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-28 18:06 Olivier NICOLAS [this message]
2003-05-28 18:18 ` [PATCH] procfs bug exposed by cdev changes Stian Jordet
  -- strict thread matches above, loose matches on Subject: below --
2003-05-28  0:31 viro
2003-05-28  4:35 ` Florin Iucha

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=3ED4FAC0.6090303@trollprod.org \
    --to=olivn@trollprod.org \
    --cc=linux-kernel@vger.kernel.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.