xfs
[Top] [All Lists]

Re: Unneeded kernel threads (xfs, jfs, gfs2)

To: Donald Douwsma <donaldd@xxxxxxx>
Subject: Re: Unneeded kernel threads (xfs, jfs, gfs2)
From: Georgi Chorbadzhiyski <gf@xxxxxxxxxxx>
Date: Tue, 13 May 2008 11:30:59 +0300
Cc: xfs@xxxxxxxxxxx, jfs-discussion@xxxxxxxxxxxxxxxxxxxxx, cluster-devel@xxxxxxxxxx, Linux Kernel Mailing List <linux-kernel@xxxxxxxxxxxxxxx>
In-reply-to: <48292742.8090409@xxxxxxx>
Organization: Unix Solutions Ltd.
References: <4828CAC6.3090402@xxxxxxxxxxx> <48292742.8090409@xxxxxxx>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
Donald Douwsma mumbled something about, On 5/13/08 8:29 AM:
Georgi Chorbadzhiyski wrote:
Hi guys, I know that not all kernel thread users are converted to
start only when needed but the following is little annoying specially
when I'm not even using jfs, xfs and gfs2.

Look at the ps output from a standard distro 2.6.24.5 kernel after a
fresh boot:
...

Kernel config can be found here:
http://mirrors.unixsol.org/slackware/slackware-12.1/kernels/hugesmp.s/config

Your distro is building all of these modules into the kernel.
    CONFIG_XFS_FS=y
    CONFIG_JFS_FS=y
    CONFIG_GFS2_FS=y

This isnt exactly standard practice, normally they'd be set to =m and only
used if required to mount a filesystem. You may want to ask the slackware
people why they chose to do this for their hugexxx.s kernels.

I know that they are compiled in the kernel, but since they
are not used isn't starting their own kthreads kind of
unnecessary? Surely the threads can be started on demand
only when xfs/etc volume is mounted.

--
Georgi Chorbadzhiyski
http://georgi.unixsol.org/


<Prev in Thread] Current Thread [Next in Thread>