All of lore.kernel.org
 help / color / mirror / Atom feed
From: khali@linux-fr.org (Jean Delvare)
To: lm-sensors@vger.kernel.org
Subject: [PATCH 2.4] i2c cleanups
Date: Thu, 19 May 2005 06:24:30 +0000	[thread overview]
Message-ID: <20031220123741.38cd9fa3.khali@linux-fr.org> (raw)
In-Reply-To: <20031213191258.2d78a9f7.khali@linux-fr.org>

> correct. see Ticket #331.
> I don't see this as a big problem though.

I am not refering to the race condition that existed with the old
method. This was due to the general design of modules in Linux 2.2 if I
understood it correctly. There's nothing we could do about it.

The real problem is that the move to 2.4 method with .owner=THIS_MODULE,
which was supposed to fix that, was not done correctly and that
accessing the /proc interface doesn't lock the modules at all, so it's
very easy to get the kernel to oops. Of course we can tell the users not
to do it, and I'm sure almost none of our users ever experienced the
problem, still that's not acceptable to submit such a change for
inclusion into the Linux 2.4 kernel.

I'd like to remind everyone that I'm currently trying to get i2c 2.8.2
into the 2.4.24 kernel only because of this structure change. If it
turns our that the structure change isn't going to make it into 2.4
anyway, then I'm wasting my time and Marcelo's too.

> Unfortunately, most of this is over my head so don't expect me
> to contribute much to a review of Khali's patch.

It's far over my head too. But there must be someone who decided we
would change to the new referening style. Ky?sti I suppose? If nobody
here is able to propose an acceptable solution to fix the problem, we'll
have to undo all the changes and come back to the old reference counting
mechanism as it exists in the Linux 2.4 kernel, so that we ensure the
compatibility with existing i2c drivers again.

-- 
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/

  parent reply	other threads:[~2005-05-19  6:24 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-13 18:12 [PATCH 2.4] i2c cleanups Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2003-12-13 18:33 ` [PATCH 2.4] i2c cleanups (1/4) Jean Delvare
2005-05-19  6:24   ` Jean Delvare
2003-12-13 18:49 ` [PATCH 2.4] i2c cleanups (2/4) Jean Delvare
2005-05-19  6:24   ` Jean Delvare
2003-12-13 19:31 ` [PATCH 2.4] i2c cleanups (3/4) Jean Delvare
2005-05-19  6:24   ` Jean Delvare
2003-12-13 19:36 ` [PATCH 2.4] i2c cleanups (4/4) Jean Delvare
2005-05-19  6:24   ` Jean Delvare
2005-05-19  6:24 ` [PATCH 2.4] i2c cleanups Greg KH
2005-05-19  6:24 ` Mark Studebaker
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare [this message]
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Kyösti Mälkki
2005-05-19  6:24 ` Jean Delvare

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=20031220123741.38cd9fa3.khali@linux-fr.org \
    --to=khali@linux-fr.org \
    --cc=lm-sensors@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.