public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Brice Goglin <Brice.Goglin@ens-lyon.fr>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org, benoit.boissinot@ens-lyon.org
Subject: Re: 2.6.11-rc2-mm2
Date: Sat, 29 Jan 2005 23:52:19 +0100	[thread overview]
Message-ID: <41FC13A3.6080407@ens-lyon.fr> (raw)
In-Reply-To: <20050129131134.75dacb41.akpm@osdl.org>

Andrew Morton a écrit :
> 
> ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.11-rc2/2.6.11-rc2-mm2/
> 
> Changes since 2.6.11-rc2-mm1:
> +fix-kallsyms-insmod-rmmod-race.patch
> +fix-kallsyms-insmod-rmmod-race-fix.patch
> +fix-kallsyms-insmod-rmmod-race-fix-fix.patch
> 
>  fix a modules race

Hi Andrew,

CONFIG_STOP_MACHINE is not defined on my laptop. This breaks module loading.
The reason is that stop_machine_run does nothing, especially
it does not call the function that is passed as a parameter.

Looks like -fix needs another fix :)

What about a patch like this one ?

Regards,
Brice


Signed-off-by: Brice Goglin <Brice.Goglin@ens-lyon.org>

--- linux-mm/include/linux/stop_machine.h.orig	2005-01-29 23:37:11.000000000 +0100
+++ linux-mm/include/linux/stop_machine.h	2005-01-29 23:37:31.000000000 +0100
@@ -57,7 +57,7 @@
  static inline int stop_machine_run(int (*fn)(void *), void *data,
  				   unsigned int cpu)
  {
-	return 0;
+	return fn(data);
  }

  #endif	/* CONFIG_STOP_MACHINE */

  reply	other threads:[~2005-01-29 22:53 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-01-29 21:11 2.6.11-rc2-mm2 Andrew Morton
2005-01-29 22:52 ` Brice Goglin [this message]
2005-01-29 23:10 ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-29 23:56   ` 2.6.11-rc2-mm2 Sean Neakums
2005-01-29 23:12 ` [patch 2.6.11-rc2-mm2] fix SERIAL_TXX9 dependencies Adrian Bunk
2005-01-29 23:16   ` Ralf Baechle
2005-01-30  0:15   ` [PATCH] Fix " Ralf Baechle
2005-01-30 13:05     ` Atsushi Nemoto
2005-01-30 15:45       ` Arnd Bergmann
2005-01-30 16:58         ` Ralf Baechle
2005-01-31  1:04           ` Atsushi Nemoto
2005-01-31 20:23           ` Arnd Bergmann
2005-01-31 20:53             ` Ralf Baechle
2005-01-31 21:29               ` Arnd Bergmann
2005-02-01  0:50             ` Atsushi Nemoto
2005-01-30 16:49       ` Ralf Baechle
2005-01-30  0:58 ` 2.6.11-rc2-mm2 - "freeing b_committed_data" Nathan Lynch
2005-01-30  1:06   ` Andrew Morton
2005-01-30  6:20 ` 2.6.11-rc2-mm2 Andrew Nelson
2005-01-30 11:03   ` 2.6.11-rc2-mm2 Rafael J. Wysocki
2005-01-31 21:15 ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-01-31 21:46   ` 2.6.11-rc2-mm2 Laurent Riffard
2005-02-01  1:26     ` 2.6.11-rc2-mm2 Jim Nelson
2005-02-01 17:25     ` 2.6.11-rc2-mm2 Andre Eisenbach
2005-02-01  9:17 ` 2.6.11-rc2-mm2 Nick Piggin
  -- strict thread matches above, loose matches on Subject: below --
2005-01-30  7:34 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-30  7:56 ` 2.6.11-rc2-mm2 Andrew Morton
2005-01-30 10:54   ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 10:57     ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 12:00       ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 12:12         ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 20:35           ` 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-30 23:00           ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-30 23:10             ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 23:36               ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-31  7:31                 ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-31 15:10                 ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-31 15:16                   ` 2.6.11-rc2-mm2 Roman Zippel
2005-01-31 19:42                     ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-30 11:38   ` 2.6.11-rc2-mm2 Adrian Bunk
2005-01-31 14:51   ` 2.6.11-rc2-mm2 Christoph Hellwig
2005-01-30 20:45 ` 2.6.11-rc2-mm2 Paul Blazejowski
2005-01-31 19:37   ` 2.6.11-rc2-mm2 Chuck Harding

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=41FC13A3.6080407@ens-lyon.fr \
    --to=brice.goglin@ens-lyon.fr \
    --cc=Brice.Goglin@ens-lyon.org \
    --cc=akpm@osdl.org \
    --cc=benoit.boissinot@ens-lyon.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox