linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Vineet Joglekar" <vintya@excite.com>
To: linux-c-programming@vger.kernel.org
Subject: How to write/copy kernel data in newly allocated cache page?
Date: Wed, 19 May 2004 21:44:53 -0400 (EDT)	[thread overview]
Message-ID: <20040520014453.7611FB6D5@xprdmailfe20.nwk.excite.com> (raw)


Hi all,

While working at the kernel level, I want to write some data to the file without user knowing about it.
I guess I can allocate a new page using "__grab_cache_page()" and write/copy that data to the newly allocated page. The page will be eventually written to the file.
If this idea sounds practical, how do I write/copy the data at kernel level to that newly allocated page?

Vineet


_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!

                 reply	other threads:[~2004-05-20  1:44 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20040520014453.7611FB6D5@xprdmailfe20.nwk.excite.com \
    --to=vintya@excite.com \
    --cc=linux-c-programming@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;
as well as URLs for NNTP newsgroup(s).