From: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
To: Jiri Kosina <jkosina@suse.cz>
Cc: ksummit-discuss@lists.linuxfoundation.org
Subject: Re: [Ksummit-discuss] No more module removal -- Unconference track
Date: Tue, 26 Aug 2014 14:24:33 +0900 [thread overview]
Message-ID: <53FC1A11.1000700@hitachi.com> (raw)
In-Reply-To: <alpine.LNX.2.00.1408251304260.2992@pobox.suse.cz>
(2014/08/25 20:05), Jiri Kosina wrote:
> On Mon, 25 Aug 2014, Masami Hiramatsu wrote:
>
>> What I found is that the module unloading involving 2 stop_machine()s
>> for each module removing. It must not be needed. However, since the
>> module's ref-counter is over-optimized for BIG SMP machine, we can't
>> remove it without replacing it. But it means some performance regression
>> can happen on such big-scale SMP machines (not the laptop nor normal smp
>> machine).
>
> Is that really a big problem in practice?
>
> I.e. are there valid usecase scenarios where module load / unload should
> be considered a hotpath where every ms of performance would matter?
There could be. However, in usual usecases, I guess people will not want
to unload it. Systemtap or something "additional" module users will
need to unload modules. (kpatch could be one of them, but I also think
no one want to remove applied patches anyway.)
I just tried to show that the kmodule unload is the one who uses
stop_machine heavily but it is not necessary :)
Thank you,
--
Masami HIRAMATSU
Software Platform Research Dept. Linux Technology Research Center
Hitachi, Ltd., Yokohama Research Laboratory
E-mail: masami.hiramatsu.pt@hitachi.com
next prev parent reply other threads:[~2014-08-26 5:24 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-19 14:48 [Ksummit-discuss] No more module removal -- Unconference track Theodore Ts'o
2014-08-19 14:55 ` Guenter Roeck
2014-08-19 15:23 ` Theodore Ts'o
2014-08-19 15:40 ` Dan Carpenter
2014-08-19 15:47 ` Guenter Roeck
2014-08-19 16:09 ` Dan Carpenter
2014-08-19 16:34 ` Martin K. Petersen
2014-08-19 16:59 ` Rik van Riel
2014-08-19 17:19 ` Guenter Roeck
2014-08-19 16:43 ` David Woodhouse
2014-08-19 17:13 ` Grant Likely
2014-08-19 17:23 ` David Woodhouse
2014-08-19 15:54 ` Takashi Iwai
2014-08-25 11:01 ` Masami Hiramatsu
2014-08-25 11:05 ` Jiri Kosina
2014-08-26 5:24 ` Masami Hiramatsu [this message]
2014-08-27 23:05 ` Theodore Ts'o
2014-08-26 21:39 ` David Howells
2014-08-26 21:45 ` Jiri Kosina
2014-08-27 6:43 ` Masami Hiramatsu
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=53FC1A11.1000700@hitachi.com \
--to=masami.hiramatsu.pt@hitachi.com \
--cc=jkosina@suse.cz \
--cc=ksummit-discuss@lists.linuxfoundation.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.