ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Andrey Rahmatullin <wrar@altlinux.ru>
To: community@altlinux.ru
Subject: Re: [Comm] [JT] Re: Новые проблемы со звуком
Date: Mon, 11 Apr 2005 20:45:54 +0600
Message-ID: <20050411144554.GE10794@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <425A8730.2070009@rambler.ru>

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

On Mon, Apr 11, 2005 at 06:18:24PM +0400, Yury Aliaev wrote:
> Может, заодно и выгрузкой тоже? Кстати, сейчас в списке процессов я его 
> не вижу (ядро 2.4.26). Кто же теперь модули за него грузит? И к чему бы 
> в списке модулей слово "(autoclean)"? Кстати, я как-то обращал внимание 
> (уже на 2.4.2х ядре), что неиспользуемые модули могут исчезать из списка 
> загруженных.
Вдогонку.

To automatically link a module, the kernel creates a kernel thread to
execute the modprobe external program,[2]

[2] This is one of the few examples in which the kernel relies on
an external program.

(c) UtLK 2nd Ed., B.4.1


The exec_modprobe( ) function, in turn, also receives the name of the
module to be linked as its parameter. It invokes the execve( ) system call
and executes the modprobe external program,[3] passing the module name to
it. In turn, the modprobe program actually links the requested module,
along with any that it depends on.

[3]  The name and path of the program executed by exec_modprobe( ) can be
customized by writing into the /proc/sys/kernel/modprobe file.

Each module automatically linked into the kernel has the MOD_AUTOCLEAN
flag in the flags field of the module object set. This flag allows
automatic unlinking of the module when it is no longer used.

To automatically unlink the module, a system process (like crond )
periodically executes the rmmod external program, passing the -a option to
it. The latter program executes the delete_module( ) system call with a
NULL parameter. The corresponding service routine scans the list of module
objects and removes all unused modules having the MOD_AUTOCLEAN flag set.


(c) там же, B.4.2

-- 
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):

> > Где именно и сколько лежит граблей, мы пока не знаем.
> Тогда откуда инфа, что они есть?
Наверное, телепаты вышли из отпуска.
		-- nikon in sisyphus@

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2005-04-11 14:45 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-08 10:20 [Comm] " Michael Holzman
2005-04-08 10:48 ` [Comm] " Michael Shigorin
2005-04-08 11:44 ` [Comm] " Yury Aliaev
2005-04-08 12:10   ` Michael Holzman
2005-04-08 12:14     ` Eugene Ostapets
2005-04-08 12:24       ` Michael Holzman
2005-04-08 12:34         ` [Comm] " Michael Shigorin
2005-04-08 12:46           ` Michael Holzman
2005-05-11 10:27               ` Michael Holzman
2005-05-17 10:58                 ` Yury Aliaev
2005-04-11 11:51         ` [Comm] " Yury Aliaev
2005-04-11 12:01           ` Michael Holzman
2005-04-11 12:18             ` Andrey Rahmatullin
2005-04-11 14:21               ` Michael Holzman
2005-04-08 12:41       ` Yury Aliaev
2005-04-08 12:44         ` Eugene Ostapets
2005-04-08 13:20           ` [Comm] " Michael Shigorin
2005-04-08 13:49             ` Eugene Ostapets
2005-04-11 11:38               ` Yury Aliaev
2005-04-11 11:35             ` Yury Aliaev
2005-04-11 11:46               ` [Comm] [JT] " Michael Shigorin
2005-04-11 14:18                 ` Yury Aliaev
2005-04-11 14:40                   ` Andrey Rahmatullin
2005-04-11 14:45                   ` Andrey Rahmatullin [this message]
2005-04-12 10:52                     ` Yury Aliaev
2005-04-11 11:19           ` [Comm] " Yury Aliaev
2005-04-08 12:44     ` Yury Aliaev

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=20050411144554.GE10794@wrars-comp.wrarsdomain \
    --to=wrar@altlinux.ru \
    --cc=community@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git