From: Andrew Morton <akpm@digeo.com>
To: Steve French <smfrench@austin.rr.com>
Cc: tmolina@cox.net, linux-kernel@vger.kernel.org
Subject: Re: compile problem with 2.5.61-bk
Date: Sun, 16 Feb 2003 14:23:46 -0800 [thread overview]
Message-ID: <20030216142346.08aa3150.akpm@digeo.com> (raw)
In-Reply-To: <3E4FF2CE.60208@austin.rr.com>
Steve French <smfrench@austin.rr.com> wrote:
>
> Those two functions are not exported (see e.g. ksyms.c) so are not
> available for modules to access but work when built as part of the kernel.
> For the time being this means the CIFS VFS can not be built as a module.
> Looks like I will have to figure out an alternate way to get at those two
> functions either directly by exporting them or preferably by calling them
> indirectly
I think exporting them makes sense. In fact, given that ->readpages() is an
address_space op, filesystems do have to be able to add these pages to pagecache.
It might be simpler to just use add_to_page_cache_lru(), and to export that
instead. But that is a little more lock-intensive, and is equivalent to
exporting add_to_page_cache() and __pagevec_lru_add().
btw, cifs_copy_cache_pages() can use the more efficient kmap_atomic(KM_USER0)
in place of the kmap().
next prev parent reply other threads:[~2003-02-16 22:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-16 20:21 Steve French
2003-02-16 22:23 ` Andrew Morton [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-02-16 16:31 Thomas Molina
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=20030216142346.08aa3150.akpm@digeo.com \
--to=akpm@digeo.com \
--cc=linux-kernel@vger.kernel.org \
--cc=smfrench@austin.rr.com \
--cc=tmolina@cox.net \
/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
all inboxes | Powered by JetHome®