From: "Steve French (smfltc)" <smfltc@us.ibm.com>
To: linux-cifs-client@lists.samba.org,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: cifs and kthread_run / kernel_thread
Date: Sun, 01 Apr 2007 14:12:07 -0500 [thread overview]
Message-ID: <46100407.30403@us.ibm.com> (raw)
In-Reply-To: <20070331120030.BE6A916387F@lists.samba.org>
>Hi all,
>
>I would like to use cifs inside linux-vserver guests. Discussion this with the
>vserver people, we found that cifs is using the new kthread_run and the old
>kernel_thread interface for starting kernel-threads. The old-style interface
>renders cifs unusable inside a vserver-guest :-(
>
>My questions:
>
>i) Are there newer versions of cifs, where only kthread_run is used in all
>places?
>
>
>
No - IIRC the original patch (for the switch of cifs from kernel_thread
to kthread) had a
minor implementation problem in handling the cifs_demultiplex thread, so
this one small
area was left with the old style.
>iii) Is it difficult to switch to the new interface?
>
>
No, I don't think so, but I have not investigated it. We would be happy
to review and test a patch for this though.
>gs cifs # grep kthread_run *.[ch]
>cifsfs.c: oplockThread = kthread_run(cifs_oplock_thread,
>NULL, "cifsoplockd");
>cifsfs.c: dnotifyThread = kthread_run(cifs_dnotify_thread,
>NULL, "cifsdnotifyd");
>
>gs cifs # grep kernel_thread *.[ch]
>cifs.mod.c: { 0x7e9ebb05, "kernel_thread" },
>connect.c: rc = (int)kernel_thread((void *)(void
>*)cifs_demultiplex_thread, srvTcp,
>
>
>Thx,
>
>Wilhelm
>
>*********************************************
>
>
next parent reply other threads:[~2007-04-01 19:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20070331120030.BE6A916387F@lists.samba.org>
2007-04-01 19:12 ` Steve French (smfltc) [this message]
2007-04-02 8:00 ` [linux-cifs-client] Re: cifs and kthread_run / kernel_thread Q (Igor Mammedov)
2007-04-02 8:58 ` Wilhelm Meier
2007-04-02 15:40 ` Wilhelm Meier
2007-04-02 15:55 ` Steve French (smfltc)
2007-04-02 15:12 ` [linux-cifs-client] " Steve French (smfltc)
2007-04-03 19:17 Steve French
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=46100407.30403@us.ibm.com \
--to=smfltc@us.ibm.com \
--cc=linux-cifs-client@lists.samba.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